From 838645dc4191c4109e2b300cf9ed9d481b55509f Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Tue, 18 Dec 2018 23:01:38 -0700 Subject: [PATCH] bpo-10320: Use PY_FORMAT_LONG_LONG in ctypes' PyCArg_repr(). (GH-11230) --- Modules/_ctypes/callproc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index ff2a7da4246..20973420857 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