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
|
|
@ -127,7 +127,7 @@ main(int argc, char *argv[])
|
|||
size_t i, end = Py_MIN(n + 16, data_size);
|
||||
fprintf(outfile, " ");
|
||||
for (i = n; i < end; i++) {
|
||||
fprintf(outfile, "%d,", (unsigned int) data[i]);
|
||||
fprintf(outfile, "%u,", (unsigned int) data[i]);
|
||||
}
|
||||
fprintf(outfile, "\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue