TCL9: Tcl_GetIntFromObj() call checked
This API uses address of operator to Tcl API with (int) type, but does not use Tcl_Size in TCL9, it remained an (int) type.
This commit is contained in:
parent
661b66a143
commit
4a32a82841
|
|
@ -854,6 +854,7 @@ TxDialog(prompt, responses, defresp)
|
|||
|
||||
Tcl_EvalEx(magicinterp, evalstr, -1, 0);
|
||||
objPtr = Tcl_GetObjResult(magicinterp);
|
||||
/* tcl9 checked, this API is still (int) for &code */
|
||||
result = Tcl_GetIntFromObj(magicinterp, objPtr, &code);
|
||||
|
||||
if (result == TCL_OK) return code;
|
||||
|
|
|
|||
Loading…
Reference in New Issue