summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 11:08:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 11:08:01 (GMT)
commitd69df857209ab9c3bb83b05151421e67508b20df (patch)
treec22dc994c16a149a0ef0a9052b03d0d74b7cbd01 /generic/tkText.c
parentf319a44dc9c325f81539512a339220e925652214 (diff)
downloadtk-d69df857209ab9c3bb83b05151421e67508b20df.zip
tk-d69df857209ab9c3bb83b05151421e67508b20df.tar.gz
tk-d69df857209ab9c3bb83b05151421e67508b20df.tar.bz2
Fix 2 (minor) compiler warnings
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 51efea6..e304af4 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -6975,7 +6975,7 @@ TkpTesttextCmd(
TkTextSetMark(textPtr, "insert", &index);
TkTextPrintIndex(textPtr, &index, buf);
- Tcl_SetObjResult(interp, Tcl_ObjPrintf("%s %d", buf, index.byteIndex));
+ Tcl_SetObjResult(interp, Tcl_ObjPrintf("%s %" TCL_SIZE_MODIFIER "d", buf, index.byteIndex));
return TCL_OK;
}