summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 50402a8..1502720 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -2145,7 +2145,7 @@ MakeFilter(
*p = '\0';
}
- Tcl_DStringAppend(dsPtr, filterStr, (Tcl_Size) (p - filterStr));
+ Tcl_DStringAppend(dsPtr, filterStr, p - filterStr);
ckfree(filterStr);
TkFreeFileFilters(&flist);