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:
Zackery Spytz 2019-05-06 10:56:51 -06:00 committed by Brett Cannon
parent ae2c32f32b
commit 1a2252ed39
11 changed files with 26 additions and 24 deletions

View file

@ -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");
}