summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-24 14:28:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-06-24 14:28:47 (GMT)
commitb358a0b815c16a175c7861aa6cbb08b9ca211cb4 (patch)
tree4d6c6c3ff1523215625e73e476b04a963aace2d2 /generic/tclStubInit.c
parenteb049d668c3f6c715771f027207ceeff6c2cba43 (diff)
downloadtcl-b358a0b815c16a175c7861aa6cbb08b9ca211cb4.zip
tcl-b358a0b815c16a175c7861aa6cbb08b9ca211cb4.tar.gz
tcl-b358a0b815c16a175c7861aa6cbb08b9ca211cb4.tar.bz2
Tcl_GetStringFromObj(..., NULL) -> Tcl_GetString(...). Use size_t in stead of int for more internal variables.
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 7a84cba..7d44163 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -82,7 +82,7 @@ static const char *TclGetStartupScriptFileName(void)
if (path == NULL) {
return NULL;
}
- return Tcl_GetStringFromObj(path, NULL);
+ return Tcl_GetString(path);
}
#if defined(_WIN32) || defined(__CYGWIN__)