changeset 347:5d8688afe0ad HEAD

hpux compiler fix
author Timo Sirainen <tss@iki.fi>
date Sat, 05 Oct 2002 23:16:55 +0300
parents 19cb83563b20
children f15420cb362d
files src/lib/mmap-anon.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/mmap-anon.c	Sat Oct 05 23:09:41 2002 +0300
+++ b/src/lib/mmap-anon.c	Sat Oct 05 23:16:55 2002 +0300
@@ -125,7 +125,7 @@
 		/* this is fully guessing */
 		movable_mmap_base = ((char *) mmap_anon) + MMAP_BASE_MOVE;
 		movable_mmap_base = (char *) NULL +
-			PAGE_ALIGN((size_t) (movable_mmap_base - NULL));
+			PAGE_ALIGN((size_t)((char *) movable_mmap_base - NULL));
 	}
 
 	do {