mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-10 10:12:11 +00:00
change "%x" (int)(pointer_expr) to "%p" (pointer_expr)
This commit is contained in:
parent
f3e7e4d1bc
commit
d90d3d0de3
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ DumpChunks (void)
|
||||||
memcpy (str, data_p, 4);
|
memcpy (str, data_p, 4);
|
||||||
data_p += 4;
|
data_p += 4;
|
||||||
iff_chunk_len = GetLittleLong ();
|
iff_chunk_len = GetLittleLong ();
|
||||||
Con_Printf ("0x%x : %s (%d)\n", (int) (data_p - 4), str, iff_chunk_len);
|
Con_Printf ("0x%p : %s (%d)\n", (data_p - 4), str, iff_chunk_len);
|
||||||
data_p += (iff_chunk_len + 1) & ~1;
|
data_p += (iff_chunk_len + 1) & ~1;
|
||||||
} while (data_p < iff_end);
|
} while (data_p < iff_end);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue