summaryrefslogtreecommitdiffstats
path: root/generic/tclFCmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclFCmd.c')
-rw-r--r--generic/tclFCmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclFCmd.c b/generic/tclFCmd.c
index 0285323..b12162c 100644
--- a/generic/tclFCmd.c
+++ b/generic/tclFCmd.c
@@ -1446,7 +1446,7 @@ TclFileTemporaryCmd(
if (objc > 2) {
Tcl_Size length;
Tcl_Obj *templateObj = objv[2];
- const char *string = Tcl_GetStringFromObj(templateObj, &length);
+ const char *string = TclGetStringFromObj(templateObj, &length);
/*
* Treat an empty string as if it wasn't there.
@@ -1598,7 +1598,7 @@ TclFileTempDirCmd(
if (objc > 1) {
Tcl_Size length;
Tcl_Obj *templateObj = objv[1];
- const char *string = Tcl_GetStringFromObj(templateObj, &length);
+ const char *string = TclGetStringFromObj(templateObj, &length);
const int onWindows = (tclPlatform == TCL_PLATFORM_WINDOWS);
/*