From: Zackery Spytz Date: Mon, 3 Dec 2018 08:31:35 +0000 (-0700) Subject: bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(... X-Git-Tag: v3.8.0a1~369 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=062cbb67726f26794b1b461853e40696b4a0b220;p=thirdparty%2FPython%2Fcpython.git bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853) Use "ll" instead of the nonstandard "q". --- diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index d485c58e8c01..ad40ca1c5247 100644 --- a/Modules/_ctypes/callproc.c +++ b/Modules/_ctypes/callproc.c @@ -484,7 +484,7 @@ PyCArg_repr(PyCArgObject *self) #ifdef MS_WIN32 "", #else - "", + "", #endif self->tag, self->value.q); break;