summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-04 06:54:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-04 06:54:24 (GMT)
commit1f3c9596a6b416e667c32e43484991d7d0b9b4d7 (patch)
treeb94ae208eb9dfbc5fd5839c4a5fc7747ae5f2eb1 /generic/tclFileName.c
parent84519e16f15d73a0b1a951ecf7f7f28d2cf347e4 (diff)
downloadtcl-1f3c9596a6b416e667c32e43484991d7d0b9b4d7.zip
tcl-1f3c9596a6b416e667c32e43484991d7d0b9b4d7.tar.gz
tcl-1f3c9596a6b416e667c32e43484991d7d0b9b4d7.tar.bz2
Experiment: compile Tcl with C++ compiler. WIP
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index 98ee37c..3ed16a4 100644
--- a/generic/tclFileName.c
+++ b/generic/tclFileName.c
@@ -1449,7 +1449,7 @@ Tcl_GlobObjCmd(
if (length <= 0) {
goto skipTypes;
}
- globTypes = TclStackAlloc(interp, sizeof(Tcl_GlobTypeData));
+ globTypes = (Tcl_GlobTypeData *)TclStackAlloc(interp, sizeof(Tcl_GlobTypeData));
globTypes->type = 0;
globTypes->perm = 0;
globTypes->macType = NULL;