bpo-10320: Use PY_FORMAT_LONG_LONG in ctypes' PyCArg_repr(). (GH-11230)

This commit is contained in:
Zackery Spytz 2018-12-18 23:01:38 -07:00 committed by Serhiy Storchaka
parent 53e2248a94
commit 838645dc41
1 changed files with 1 additions and 5 deletions

View File

@ -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