FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' P… · python-emscripten/cpython@f65ede3 · GitHub

Repository navigation

Commit f65ede3

Browse files
bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (pythonGH-10853)
Use "ll" instead of the nonstandard "q". (cherry picked from commit 062cbb6) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
1 parent 013832f commit f65ede3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/_ctypes/callproc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ PyCArg_repr(PyCArgObject *self)
484484
#ifdef MS_WIN32
485485
"<cparam '%c' (%I64d)>",
486486
#else
487-
"<cparam '%c' (%qd)>",
487+
"<cparam '%c' (%lld)>",
488488
#endif
489489
self->tag, self->value.q);
490490
break;

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL