diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-11 10:25:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-02-11 10:25:04 (GMT) |
commit | 8085eb88ab1525a1b91106d59723e8c3fecdf9f8 (patch) | |
tree | 40ab2efb7dd8b8b9f46d3e9a0b4ca526ac10b1bd /generic/tclMain.c | |
parent | c09aee52fbaeb3d3323d506b2ed648d06c21954f (diff) | |
download | tcl-8085eb88ab1525a1b91106d59723e8c3fecdf9f8.zip tcl-8085eb88ab1525a1b91106d59723e8c3fecdf9f8.tar.gz tcl-8085eb88ab1525a1b91106d59723e8c3fecdf9f8.tar.bz2 |
more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversions
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r-- | generic/tclMain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c index 1b15617..63e7464 100644 --- a/generic/tclMain.c +++ b/generic/tclMain.c @@ -362,7 +362,7 @@ Tcl_MainEx( argc--; argv++; - Tcl_SetVar2Ex(interp, "argc", NULL, Tcl_NewIntObj(argc), TCL_GLOBAL_ONLY); + Tcl_SetVar2Ex(interp, "argc", NULL, Tcl_NewLongObj(argc), TCL_GLOBAL_ONLY); argvPtr = Tcl_NewListObj(0, NULL); while (argc--) { @@ -376,7 +376,7 @@ Tcl_MainEx( is.tty = isatty(0); Tcl_SetVar2Ex(interp, "tcl_interactive", NULL, - Tcl_NewIntObj(!path && is.tty), TCL_GLOBAL_ONLY); + Tcl_NewLongObj(!path && is.tty), TCL_GLOBAL_ONLY); /* * Invoke application-specific initialization. |