diff options
-rw-r--r-- | Modules/_ctypes/callproc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index ff2a7da424..2097342085 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 - "<cparam '%c' (%I64d)>", -#else - "<cparam '%c' (%lld)>", -#endif + "<cparam '%c' (%" PY_FORMAT_LONG_LONG "d)>", self->tag, self->value.q); break; #endif |