projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab6d93
)
[project @ 1998-05-21 09:44:40 by simonm]
author
simonm
<unknown>
Thu, 21 May 1998 09:44:40 +0000
(09:44 +0000)
committer
simonm
<unknown>
Thu, 21 May 1998 09:44:40 +0000
(09:44 +0000)
missed one caddr_t.
ghc/runtime/storage/mprotect.lc
patch
|
blob
|
history
diff --git
a/ghc/runtime/storage/mprotect.lc
b/ghc/runtime/storage/mprotect.lc
index
96c0e2f
..
1cef887
100644
(file)
--- 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