From b39f861b076e14e8ab5c337df7191c7a43f54e69 Mon Sep 17 00:00:00 2001 From: simonm <unknown> Date: Thu, 21 May 1998 09:44:40 +0000 Subject: [PATCH] [project @ 1998-05-21 09:44:40 by simonm] missed one caddr_t. --- ghc/runtime/storage/mprotect.lc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/runtime/storage/mprotect.lc b/ghc/runtime/storage/mprotect.lc index 96c0e2fb8c8d..1cef887330d5 100644 --- a/ghc/runtime/storage/mprotect.lc +++ b/ghc/runtime/storage/mprotect.lc @@ -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 -- GitLab