From 062cbb67726f26794b1b461853e40696b4a0b220 Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Mon, 3 Dec 2018 01:31:35 -0700 Subject: bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853) Use "ll" instead of the nonstandard "q". --- Modules/_ctypes/callproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index d485c58..ad40ca1 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; -- cgit v0.12