Remove a pointless cast which drops const and causes a warning with certain GCC

warning flag settings.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2008-03-31 04:52:32 +00:00
commit b85052384c

View file

@ -207,7 +207,7 @@ SWIG_Perl_TypeProxyName(const swig_type_info *type) {
SWIGRUNTIME swig_cast_info *
SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
SWIG_TypeCheck_Template(( (!iter->type->clientdata && (strcmp((char*)iter->type->name, c) == 0))
SWIG_TypeCheck_Template(( (!iter->type->clientdata && (strcmp(iter->type->name, c) == 0))
|| (iter->type->clientdata && (strcmp((char*)iter->type->clientdata, c) == 0))), ty);
}