summaryrefslogtreecommitdiff
path: root/Modules/_ctypes/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_ctypes/callbacks.c')
-rw-r--r--Modules/_ctypes/callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/callbacks.c b/Modules/_ctypes/callbacks.c
index 91413d7dbf..b958f304c5 100644
--- a/Modules/_ctypes/callbacks.c
+++ b/Modules/_ctypes/callbacks.c
@@ -77,7 +77,7 @@ PyTypeObject PyCThunk_Type = {
/**************************************************************/
static void
-PrintError(char *msg, ...)
+PrintError(const char *msg, ...)
{
char buf[512];
PyObject *f = PySys_GetObject("stderr");