aboutsummaryrefslogtreecommitdiff
path: root/morecore.c
diff options
context:
space:
mode:
authorDavid Gibson <dgibson@sneetch.ozlabs.ibm.com>2005-11-23 12:00:05 +1100
committerDavid Gibson <dgibson@sneetch.ozlabs.ibm.com>2005-11-23 12:00:05 +1100
commitb885c21eecc269aa0cb08e8dbf31574efd2c5f22 (patch)
treee65f7e7757d04dfe9d1c2afd62eef9bc2bbcef9f /morecore.c
parent1ace99e20f666039c3f4eda0977bfebda9a0717d (diff)
downloadlibhugetlbfs-b885c21eecc269aa0cb08e8dbf31574efd2c5f22.tar.gz
Set up to compile and test both 32 and 64 bit.
Diffstat (limited to 'morecore.c')
-rw-r--r--morecore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/morecore.c b/morecore.c
index c5249e0..e63e148 100644
--- a/morecore.c
+++ b/morecore.c
@@ -35,7 +35,7 @@ static void *hugetlbfs_morecore(ptrdiff_t increment)
void *p;
long newsize = 0;
- DEBUG("hugetlbfs_morecore(%d) = ...\n", increment);
+ DEBUG("hugetlbfs_morecore(%ld) = ...\n", (long)increment);
newsize = (heaptop-heapbase) + increment - mapsize;