From: Zackery Spytz Date: Wed, 19 Dec 2018 06:01:38 +0000 (-0700) Subject: bpo-10320: Use PY_FORMAT_LONG_LONG in ctypes' PyCArg_repr(). (GH-11230) X-Git-Tag: v2.7.16rc1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=838645dc4191c4109e2b300cf9ed9d481b55509f;p=thirdparty%2FPython%2Fcpython.git bpo-10320: Use PY_FORMAT_LONG_LONG in ctypes' PyCArg_repr(). (GH-11230) --- diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index ff2a7da4246f..209734208578 100644 --- a/Modules/_ctypes/callproc.c +++ b/Modules/_ctypes/callproc.c @@ -485,11 +485,7 @@ PyCArg_repr(PyCArgObject *self) case 'q': case 'Q': sprintf(buffer, -#ifdef MS_WIN32 - "", -#else - "", -#endif + "", self->tag, self->value.q); break; #endif