diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-30 23:21:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-30 23:21:32 (GMT) |
commit | ebcce5601cd6115ea5dc2f6af7da97db17f6da57 (patch) | |
tree | bd1ced29be82494a47d350affcdfc4ec5c82db20 /generic/tkCanvWind.c | |
parent | a05dc9b185fda9d8855e624419f85919b3596742 (diff) | |
parent | c1ebd8dbebdf9d46522d17aceecbf1f3684101dc (diff) | |
download | tk-ebcce5601cd6115ea5dc2f6af7da97db17f6da57.zip tk-ebcce5601cd6115ea5dc2f6af7da97db17f6da57.tar.gz tk-ebcce5601cd6115ea5dc2f6af7da97db17f6da57.tar.bz2 |
Make everything work (again) with Tcl 8.6 too
Diffstat (limited to 'generic/tkCanvWind.c')
-rw-r--r-- | generic/tkCanvWind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCanvWind.c b/generic/tkCanvWind.c index b2ea0a6..2ef4a82 100644 --- a/generic/tkCanvWind.c +++ b/generic/tkCanvWind.c @@ -261,7 +261,7 @@ WinItemCoords( return TCL_ERROR; } else if (objc != 2) { Tcl_SetObjResult(interp, Tcl_ObjPrintf( - "wrong # coordinates: expected 2, got %" TCL_Z_MODIFIER "u", (size_t)objc)); + "wrong # coordinates: expected 2, got %" TKSIZET_MODIFIER "u", objc)); Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "WINDOW", NULL); return TCL_ERROR; @@ -275,7 +275,7 @@ WinItemCoords( ComputeWindowBbox(canvas, winItemPtr); } else { Tcl_SetObjResult(interp, Tcl_ObjPrintf( - "wrong # coordinates: expected 0 or 2, got %" TCL_Z_MODIFIER "u", (size_t)objc)); + "wrong # coordinates: expected 0 or 2, got %" TKSIZET_MODIFIER "u", objc)); Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "WINDOW", NULL); return TCL_ERROR; } |