[Tcl] Fix several ocurrences of "warning: deprecated conversion

from string constant to 'char*'" from GCC 4.2 in generated C/C++
code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2007-10-16 22:12:44 +00:00
commit 10c6e1064d
3 changed files with 7 additions and 2 deletions

View file

@ -47,7 +47,7 @@ typedef struct swig_class {
swig_method *methods;
swig_attribute *attributes;
struct swig_class **bases;
char **base_names;
const char **base_names;
swig_module_info *module;
} swig_class;