projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1998-11-26 09:17:22 by sof]
[ghc-hetmet.git]
/
ghc
/
runtime
/
storage
/
mprotect.lc
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();
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
#if defined(cygwin32_TARGET_OS)
unsigned int old_prot;
#endif