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

Use "ll" instead of the nonstandard "q".
(cherry picked from commit 062cbb6772)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-12-18 15:51:04 -08:00 committed by GitHub
parent ea6b322829
commit 53e2248a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,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;