From a27b9451558898e7759ce4a95ca11c60d17058d8 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 1 Feb 2006 05:12:18 +0000 Subject: [PATCH] fix warning in solaris git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8663 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pytypemaps.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/python/pytypemaps.swg b/Lib/python/pytypemaps.swg index 777a2fb42..58dc067ab 100644 --- a/Lib/python/pytypemaps.swg +++ b/Lib/python/pytypemaps.swg @@ -53,7 +53,7 @@ /* set constant */ %define %set_constant(name, obj) %begin_block PyObject *_obj = obj; - PyDict_SetItemString(d, name, _obj); + PyDict_SetItemString(d, (char*) name, _obj); Py_DECREF(_obj); %end_block %enddef