summaryrefslogtreecommitdiffstats
path: root/monitor_mm.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-10-06 15:15:44 +0200
committerDarren Tucker <dtucker@zip.com.au>2004-10-06 15:15:44 +0200
commitdbc2296e2c4af222f079cb400d75797b566caab6 (patch)
treeefc86d2a90bd591d930034b365a9abd4620469a0 /monitor_mm.c
parent - (dtucker) [README.privsep] Bug #939: update info about HP-UX Trusted Mode (diff)
downloadopenssh-dbc2296e2c4af222f079cb400d75797b566caab6.tar.xz
openssh-dbc2296e2c4af222f079cb400d75797b566caab6.zip
- (dtucker) [monitor_mm.c openbsd-compat/xmmap.c] Bug #940: cast constants
to void * to appease picky compilers (eg Tru64's "cc -std1").
Diffstat (limited to 'monitor_mm.c')
-rw-r--r--monitor_mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_mm.c b/monitor_mm.c
index ff523a5b1..b0ec37cff 100644
--- a/monitor_mm.c
+++ b/monitor_mm.c
@@ -92,7 +92,7 @@ mm_create(struct mm_master *mmalloc, size_t size)
mm->mmalloc = mmalloc;
address = xmmap(size);
- if (address == MAP_FAILED)
+ if (address == (void *)MAP_FAILED)
fatal("mmap(%lu): %s", (u_long)size, strerror(errno));
mm->address = address;