Commit 062cbb67 authored by Zackery Spytz's avatar Zackery Spytz Committed by Serhiy Storchaka

bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853)

Use "ll" instead of the nonstandard "q".
parent c667b094
...@@ -484,7 +484,7 @@ PyCArg_repr(PyCArgObject *self) ...@@ -484,7 +484,7 @@ PyCArg_repr(PyCArgObject *self)
#ifdef MS_WIN32 #ifdef MS_WIN32
"<cparam '%c' (%I64d)>", "<cparam '%c' (%I64d)>",
#else #else
"<cparam '%c' (%qd)>", "<cparam '%c' (%lld)>",
#endif #endif
self->tag, self->value.q); self->tag, self->value.q);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment