summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authormig <mig>2011-07-07 18:57:46 (GMT)
committermig <mig>2011-07-07 18:57:46 (GMT)
commit2850024a95b72df73712f491bcebfb62d72ed67f (patch)
tree808e7c5254818954a6c72db583ab8731fcec1375 /generic/tclBasic.c
parentfdd95f44f6b3e167db18e43cee8e22ef1c2f170d (diff)
downloadtcl-2850024a95b72df73712f491bcebfb62d72ed67f.zip
tcl-2850024a95b72df73712f491bcebfb62d72ed67f.tar.gz
tcl-2850024a95b72df73712f491bcebfb62d72ed67f.tar.bz2
* generic/tclBasic.c: add missing INT2PTR
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 6791cbf..c46510c 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -4139,7 +4139,7 @@ TclNREvalObjv(
*/
if (iPtr->evalFlags & TCL_EVAL_REDIRECT) {
- TclNRAddCallback(interp, NRCommand, NULL, INT2PTR(1), objc, objv);
+ TclNRAddCallback(interp, NRCommand, NULL, INT2PTR(1), INT2PTR(objc), objv);
iPtr->evalFlags &= ~TCL_EVAL_REDIRECT;
} else {
TclNRAddCallback(interp, NRCommand, NULL, NULL, INT2PTR(objc), objv);