[project @ 1998-11-26 09:17:22 by sof]
[ghc-hetmet.git] / ghc / runtime / storage / mprotect.lc
index 96c0e2f..1cef887 100644 (file)
@@ -70,7 +70,7 @@ char * /*caddr_t*/ addr;
 int size;
 {
     int pagesize = GETPAGESIZE();
-    char * middle = (caddr_t) (((W_) (addr + size / 2)) / pagesize * pagesize);
+    char * middle = (char *) (((W_) (addr + size / 2)) / pagesize * pagesize);
 #if defined(cygwin32_TARGET_OS)
     unsigned int old_prot;
 #endif