summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-26 16:02:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-26 16:02:25 (GMT)
commit72a067940cab76f22c624a22de728847d2deadc4 (patch)
tree90cc7586c1785593d2a71b73925356ac528b0167 /generic
parent1c31fab6cd178e2ee54d4546ec43797df411768e (diff)
downloadtk-72a067940cab76f22c624a22de728847d2deadc4.zip
tk-72a067940cab76f22c624a22de728847d2deadc4.tar.gz
tk-72a067940cab76f22c624a22de728847d2deadc4.tar.bz2
Fix compiler warning
Diffstat (limited to 'generic')
-rw-r--r--generic/ttk/ttkPanedwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkPanedwindow.c b/generic/ttk/ttkPanedwindow.c
index 4e268d9..62b11a4 100644
--- a/generic/ttk/ttkPanedwindow.c
+++ b/generic/ttk/ttkPanedwindow.c
@@ -850,7 +850,7 @@ static int PanedSashposCommand(
}
if (sashIndex < 0 || sashIndex >= Ttk_NumberContent(pw->paned.mgr) - 1) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "sash index %" TCL_SIZE_MODIFIER "d out of range", sashIndex));
+ "sash index %" TCL_LL_MODIFIER "d out of range", sashIndex));
Tcl_SetErrorCode(interp, "TTK", "PANE", "SASH_INDEX", NULL);
return TCL_ERROR;
}