From c09bce22719c47e113c7b1e9ac43f966c6b5c915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 22 Aug 2007 10:33:23 +0000 Subject: [PATCH] This should work correctly with 3Go now :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22034 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/sysinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/sysinfo.c b/src/bin/sysinfo.c index cd49d521e0..d9e2e65c56 100644 --- a/src/bin/sysinfo.c +++ b/src/bin/sysinfo.c @@ -517,10 +517,10 @@ dump_cpus(system_info *info) static void dump_mem(system_info *info) { - printf("%10ld bytes free (used/max %10ld / %10ld)\n", - B_PAGE_SIZE * (info->max_pages - info->used_pages), - B_PAGE_SIZE * info->used_pages, - B_PAGE_SIZE * info->max_pages); + printf("%10lu bytes free (used/max %10lu / %10lu)\n", + B_PAGE_SIZE * (uint32)(info->max_pages - info->used_pages)), + B_PAGE_SIZE * (uint32)info->used_pages, + B_PAGE_SIZE * (uint32)info->max_pages); }