bpo-10320: Use PY_FORMAT_LONG_LONG in ctypes' PyCArg_repr(). (GH-11230)
This commit is contained in:
parent
53e2248a94
commit
838645dc41
|
@ -485,11 +485,7 @@ PyCArg_repr(PyCArgObject *self)
|
||||||
case 'q':
|
case 'q':
|
||||||
case 'Q':
|
case 'Q':
|
||||||
sprintf(buffer,
|
sprintf(buffer,
|
||||||
#ifdef MS_WIN32
|
"<cparam '%c' (%" PY_FORMAT_LONG_LONG "d)>",
|
||||||
"<cparam '%c' (%I64d)>",
|
|
||||||
#else
|
|
||||||
"<cparam '%c' (%lld)>",
|
|
||||||
#endif
|
|
||||||
self->tag, self->value.q);
|
self->tag, self->value.q);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue