diff --git a/memory.c b/memory.c index 95eefc9..9e8e7d0 100755 --- a/memory.c +++ b/memory.c @@ -4419,7 +4419,7 @@ dump_mem_map_SPARSEMEM(struct meminfo *mi) ulong PG_reserved_flag; long buffers; ulong inode, offset, flags, mapping, index; - uint count; + int count; int print_hdr, pg_spec, phys_spec, done; int v22; char hdr[BUFSIZE]; @@ -4610,7 +4610,7 @@ dump_mem_map_SPARSEMEM(struct meminfo *mi) flags = ULONG(pcache + OFFSET(page_flags)); if (SIZE(page_flags) == 4) flags &= 0xffffffff; - count = UINT(pcache + OFFSET(page_count)); + count = INT(pcache + OFFSET(page_count)); switch (mi->flags) { @@ -4904,7 +4904,7 @@ dump_mem_map(struct meminfo *mi) long buffers; ulong inode, offset, flags, mapping, index; ulong node_size; - uint count; + int count; int print_hdr, pg_spec, phys_spec, done; int v22; struct node_table *nt; @@ -5061,7 +5061,7 @@ dump_mem_map(struct meminfo *mi) flags = ULONG(pcache + OFFSET(page_flags)); if (SIZE(page_flags) == 4) flags &= 0xffffffff; - count = UINT(pcache + OFFSET(page_count)); + count = INT(pcache + OFFSET(page_count)); switch (mi->flags) {