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':
|
||||
sprintf(buffer,
|
||||
#ifdef MS_WIN32
|
||||
"<cparam '%c' (%I64d)>",
|
||||
#else
|
||||
"<cparam '%c' (%lld)>",
|
||||
#endif
|
||||
"<cparam '%c' (%" PY_FORMAT_LONG_LONG "d)>",
|
||||
self->tag, self->value.q);
|
||||
break;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue