Cleaned up new warnings introduced by prev patch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
69f851a236
commit
017b28a8be
1 changed files with 4 additions and 4 deletions
|
|
@ -404,10 +404,10 @@ SWIG_GetArgs(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], const char *fm
|
|||
case 'h': case 'H':
|
||||
case 'b': case 'B':
|
||||
if (Tcl_GetLongFromObj(interp,obj,&tempi) != TCL_OK) goto argerror;
|
||||
if ((*c == 'i') || (*c == 'I')) *((int *)vptr) = tempi;
|
||||
else if ((*c == 'l') || (*c == 'L')) *((long *)vptr) = tempi;
|
||||
else if ((*c == 'h') || (*c == 'H')) *((short*)vptr) = tempi;
|
||||
else if ((*c == 'b') || (*c == 'B')) *((unsigned char *)vptr) = tempi;
|
||||
if ((*c == 'i') || (*c == 'I')) *((int *)vptr) = (int)tempi;
|
||||
else if ((*c == 'l') || (*c == 'L')) *((long *)vptr) = (long)tempi;
|
||||
else if ((*c == 'h') || (*c == 'H')) *((short*)vptr) = (short)tempi;
|
||||
else if ((*c == 'b') || (*c == 'B')) *((unsigned char *)vptr) = (unsigned char)tempi;
|
||||
break;
|
||||
case 'f': case 'F':
|
||||
case 'd': case 'D':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue