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:
parent
48d37ce4f2
commit
b85052384c
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ SWIG_Perl_TypeProxyName(const swig_type_info *type) {
|
||||||
|
|
||||||
SWIGRUNTIME swig_cast_info *
|
SWIGRUNTIME swig_cast_info *
|
||||||
SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
|
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);
|
|| (iter->type->clientdata && (strcmp((char*)iter->type->clientdata, c) == 0))), ty);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue