Fix 2 compiler warnings

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2006-10-03 15:03:45 +00:00
commit 1ed6e404f4

View file

@ -986,8 +986,8 @@ String * CFFI::convert_literal(String *literal, String *type, bool try_to_split)
return NewStringf("\"%s\"", num_param);
}
else if (SwigType_type(type) == T_INT){
Replaceall(num, "u", "") + Replaceall(num, "U", "");
Replaceall(num, "l", "") + Replaceall(num, "L", "");
Replaceall(num, "u", ""); Replaceall(num, "U", "");
Replaceall(num, "l", ""); Replaceall(num, "L", "");
int i,j;
if (sscanf (s,"%d >> %d",&i,&j) == 2){