diff options
Diffstat (limited to 'e2fsck/iscan.c')
-rw-r--r-- | e2fsck/iscan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/e2fsck/iscan.c b/e2fsck/iscan.c index 33c6a4c..1253f52 100644 --- a/e2fsck/iscan.c +++ b/e2fsck/iscan.c @@ -120,7 +120,8 @@ void print_resource_track(const char *desc, } else #elif defined HAVE_MALLINFO /* don't use mallinfo() if over 2GB used, since it returns "int" */ - if ((char *)sbrk(0) - (char *)track->brk_start < 2LL << 30) { + if ((unsigned long)((char *)sbrk(0) - (char *)track->brk_start) < + 2UL << 30) { struct mallinfo malloc_info = mallinfo(); printf("Memory used: %lluk/%lluk (%lluk/%lluk), ", |