mirror of https://github.com/python/cpython
bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853)
Use "ll" instead of the nonstandard "q".
This commit is contained in:
parent
c667b094ae
commit
062cbb6772
|
@ -484,7 +484,7 @@ PyCArg_repr(PyCArgObject *self)
|
|||
#ifdef MS_WIN32
|
||||
"<cparam '%c' (%I64d)>",
|
||||
#else
|
||||
"<cparam '%c' (%qd)>",
|
||||
"<cparam '%c' (%lld)>",
|
||||
#endif
|
||||
self->tag, self->value.q);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue