bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/4] rootdir.c: Fix compiler warning


From: Justus Winter
Subject: [PATCH 2/4] rootdir.c: Fix compiler warning
Date: Mon, 22 Jul 2013 17:54:37 +0200

* rootdir.c (rootdir_gc_meminfo): Use unsigned long constant.
---
 rootdir.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rootdir.c b/rootdir.c
index 31e2d8c..9fc326a 100644
--- a/rootdir.c
+++ b/rootdir.c
@@ -300,7 +300,7 @@ rootdir_gc_meminfo (void *hook, char **contents, ssize_t 
*contents_len)
       ,
       (long unsigned) hbi.memory_size / 1024,
       (long unsigned) vmstats.free_count * PAGE_SIZE / 1024,
-      0,
+      0UL,
       (long unsigned) cache_stats.cache_count * PAGE_SIZE / 1024,
       (long unsigned) vmstats.active_count * PAGE_SIZE / 1024,
       (long unsigned) vmstats.inactive_count * PAGE_SIZE / 1024,
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]