From 1a2252ed39bc1b71cdaa935d7726d82909af93ab Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Mon, 6 May 2019 10:56:51 -0600 Subject: bpo-36594: Fix incorrect use of %p in format strings (GH-12769) In addition, fix some other minor violations of C99. --- Programs/_freeze_importlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Programs') diff --git a/Programs/_freeze_importlib.c b/Programs/_freeze_importlib.c index 0818012d8c5..4b2ed70de97 100644 --- a/Programs/_freeze_importlib.c +++ b/Programs/_freeze_importlib.c @@ -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"); } -- cgit v1.2.3-65-gdbad