From b33174e7a5009928bf7af903c344d0ca4a2b57b8 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Fri, 20 Feb 2009 12:03:48 -0200 Subject: [PATCH] add missing const for char* arg in refnanny call --- Cython/Compiler/ModuleNode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 5caeb4c2..c44802d9 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -2338,7 +2338,7 @@ typedef struct { void (*DECREF)(void*, PyObject*, int); void (*GOTREF)(void*, PyObject*, int); void (*GIVEREF)(void*, PyObject*, int); - void* (*NewContext)(const char*, int, char*); + void* (*NewContext)(const char*, int, const char*); int (*FinishContext)(void**); } __Pyx_RefnannyAPIStruct; static __Pyx_RefnannyAPIStruct *__Pyx_Refnanny = NULL; -- 2.26.2