commit | d53fe5f407ff4b529628b01a1bcbf21a6aad5c3a | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Mar 13 22:59:55 2019 +0200 |
committer | GitHub <noreply@github.com> | Wed Mar 13 22:59:55 2019 +0200 |
tree | db8a8657e379e60b26fe2bfdbad4da612fbb46b9 | |
parent | 10f8ce66884cd7fee2372b8dae08ca8132091574 [diff] [blame] |
bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264)
diff --git a/Python/hamt.c b/Python/hamt.c index aa90d37..67af04c 100644 --- a/Python/hamt.c +++ b/Python/hamt.c
@@ -2005,7 +2005,7 @@ goto error; } - if (_hamt_dump_format(writer, "%d::\n", i)) { + if (_hamt_dump_format(writer, "%zd::\n", i)) { goto error; }