mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 10:43:29 +00:00
Whee, 64bit cpus and sizeof.
This commit is contained in:
parent
7ce1fc3be5
commit
d6ceaef7d2
1 changed files with 2 additions and 2 deletions
|
@ -263,8 +263,8 @@ Z_Print (memzone_t *zone)
|
|||
|
||||
for (block = zone->blocklist.next ; ; block = block->next) {
|
||||
Sys_Printf ("block:%p size:%7i tag:%3i ofs:%d\n",
|
||||
block, block->size - sizeof (memblock_t) - 4, block->tag,
|
||||
(int) ((byte *) block - (byte *) zone));
|
||||
block, block->size - (int) sizeof (memblock_t) - 4,
|
||||
block->tag, (int) ((byte *) block - (byte *) zone));
|
||||
|
||||
if (block->next == &zone->blocklist)
|
||||
break; // all blocks have been hit
|
||||
|
|
Loading…
Reference in a new issue