diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2019-03-14 10:47:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-14 10:47:27 +0200 |
| commit | 783bed4c8daf65a2893d94761ea44af4e3718f4f (patch) | |
| tree | cf5ce9cca23905968219200014eef4e7506b7563 /Python/hamt.c | |
| parent | a84f9bc11c3ce4854f7b4e16f3cb3cca954092f6 (diff) | |
| download | cpython-git-783bed4c8daf65a2893d94761ea44af4e3718f4f.tar.gz | |
[3.7] bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264). (GH-12322)
(cherry picked from commit d53fe5f407ff4b529628b01a1bcbf21a6aad5c3a)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/hamt.c')
| -rw-r--r-- | Python/hamt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/hamt.c b/Python/hamt.c index 562f777ea0..71a5ec87c5 100644 --- a/Python/hamt.c +++ b/Python/hamt.c @@ -2003,7 +2003,7 @@ hamt_node_array_dump(PyHamtNode_Array *node, goto error; } - if (_hamt_dump_format(writer, "%d::\n", i)) { + if (_hamt_dump_format(writer, "%zd::\n", i)) { goto error; } |
