summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-03 11:18:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-03 11:18:28 (GMT)
commit1e1f629ce1661dec695273cc771f3273bcd1cf22 (patch)
treeef1295a44e7232e1c34f4d2d2051f3d40b9e9034 /win/tkWinDialog.c
parent7981ee62fbb204d18b0e5ae785e719509f855932 (diff)
downloadtk-1e1f629ce1661dec695273cc771f3273bcd1cf22.zip
tk-1e1f629ce1661dec695273cc771f3273bcd1cf22.tar.gz
tk-1e1f629ce1661dec695273cc771f3273bcd1cf22.tar.bz2
More Tcl_Size usages (so longer lists can be handled with >= Tcl 9.0 headers)
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index c957229..e769daf 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -1727,7 +1727,7 @@ static int GetFileNameXP(Tcl_Interp *interp, OFNOpts *optsPtr, enum OFNOper oper
result = TCL_OK;
if ((ofn.nFilterIndex > 0) && gotFilename && optsPtr->typeVariableObj
&& optsPtr->filterObj) {
- int listObjc, count;
+ Tcl_Size listObjc, count;
Tcl_Obj **listObjv = NULL;
Tcl_Obj **typeInfo = NULL;
@@ -3450,7 +3450,7 @@ FontchooserShowCmd(
}
if (TCL_OK == r && hdPtr->cmdObj != NULL) {
- int len = 0;
+ Tcl_Size len = 0;
r = Tcl_ListObjLength(interp, hdPtr->cmdObj, &len);
if (len > 0) {