summaryrefslogtreecommitdiffstats
path: root/generic/tclIndexObj.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclIndexObj.c')
-rw-r--r--generic/tclIndexObj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIndexObj.c b/generic/tclIndexObj.c
index cc6dd22..e566f57 100644
--- a/generic/tclIndexObj.c
+++ b/generic/tclIndexObj.c
@@ -138,7 +138,7 @@ GetIndexFromObjList(
* An exact match is always chosen, so we can stop here.
*/
- Tcl_Free(tablePtr);
+ Tcl_Free((void *)tablePtr);
*indexPtr = t;
return TCL_OK;
}
@@ -150,7 +150,7 @@ GetIndexFromObjList(
result = Tcl_GetIndexFromObjStruct(interp, objPtr, tablePtr,
sizeof(char *), msg, flags | INDEX_TEMP_TABLE, indexPtr);
- Tcl_Free(tablePtr);
+ Tcl_Free((void *)tablePtr);
return result;
}