summaryrefslogtreecommitdiffstats
path: root/generic/tkRectOval.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-30 23:21:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-30 23:21:32 (GMT)
commitebcce5601cd6115ea5dc2f6af7da97db17f6da57 (patch)
treebd1ced29be82494a47d350affcdfc4ec5c82db20 /generic/tkRectOval.c
parenta05dc9b185fda9d8855e624419f85919b3596742 (diff)
parentc1ebd8dbebdf9d46522d17aceecbf1f3684101dc (diff)
downloadtk-ebcce5601cd6115ea5dc2f6af7da97db17f6da57.zip
tk-ebcce5601cd6115ea5dc2f6af7da97db17f6da57.tar.gz
tk-ebcce5601cd6115ea5dc2f6af7da97db17f6da57.tar.bz2
Make everything work (again) with Tcl 8.6 too
Diffstat (limited to 'generic/tkRectOval.c')
-rw-r--r--generic/tkRectOval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkRectOval.c b/generic/tkRectOval.c
index 15eff62..e0d591c 100644
--- a/generic/tkRectOval.c
+++ b/generic/tkRectOval.c
@@ -350,7 +350,7 @@ RectOvalCoords(
if (objc != 4) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "wrong # coordinates: expected 0 or 4, got %" TCL_Z_MODIFIER "u", (size_t)objc));
+ "wrong # coordinates: expected 0 or 4, got %" TKSIZET_MODIFIER "u", objc));
Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS",
(rectOvalPtr->header.typePtr == &tkRectangleType
? "RECTANGLE" : "OVAL"), NULL);