mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-36594: Fix incorrect use of %p in format strings (GH-12769)
In addition, fix some other minor violations of C99.
This commit is contained in:
parent
ae2c32f32b
commit
1a2252ed39
11 changed files with 26 additions and 24 deletions
|
|
@ -2354,7 +2354,7 @@ _PyObject_DebugDumpAddress(const void *p)
|
|||
}
|
||||
|
||||
tail = q + nbytes;
|
||||
fprintf(stderr, " The %d pad bytes at tail=%p are ", SST, tail);
|
||||
fprintf(stderr, " The %d pad bytes at tail=%p are ", SST, (void *)tail);
|
||||
ok = 1;
|
||||
for (i = 0; i < SST; ++i) {
|
||||
if (tail[i] != FORBIDDENBYTE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue