Kernel - Change virtual memory API to use void* for virtual addresses
[tpg/acess2.git] / KernelLand / Modules / Network / PCnetFAST3 / pcnet-fast3.c
index 0e4c6a0..2a58651 100644 (file)
@@ -153,8 +153,9 @@ int PCnet3_Install(char **Options)
                i ++;
        }
 
-       if( gpPCnet3_InitBlock != &gPCnet3_StaticInitBlock ) {
-               MM_UnmapHWPages( (tVAddr)gpPCnet3_InitBlock, 1 );
+       if( gpPCnet3_InitBlock != &gPCnet3_StaticInitBlock )
+       {
+               MM_UnmapHWPages( gpPCnet3_InitBlock, 1 );
        }
        
        return MODULE_ERR_OK;

UCC git Repository :: git.ucc.asn.au