summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvPoly.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-25 15:08:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-25 15:08:53 (GMT)
commit8e4c7b8f2f43e49559dba9709768e1c737e6b3b1 (patch)
tree9e4d8b272990338f713721e12686c38f1fb34ee6 /generic/tkCanvPoly.c
parentb3af1ba9a9e88b812152b32edbb39e4ea9d73b06 (diff)
parentb24734f447464d9b41cb0aaaf478615872427a8e (diff)
downloadtk-8e4c7b8f2f43e49559dba9709768e1c737e6b3b1.zip
tk-8e4c7b8f2f43e49559dba9709768e1c737e6b3b1.tar.gz
tk-8e4c7b8f2f43e49559dba9709768e1c737e6b3b1.tar.bz2
Formatting and even more size_t usage.
Diffstat (limited to 'generic/tkCanvPoly.c')
-rw-r--r--generic/tkCanvPoly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvPoly.c b/generic/tkCanvPoly.c
index 71e67f8..6a36bdf 100644
--- a/generic/tkCanvPoly.c
+++ b/generic/tkCanvPoly.c
@@ -1680,7 +1680,7 @@ GetPolygonIndex(
TkSizeT length, idx;
PolygonItem *polyPtr = (PolygonItem *) itemPtr;
const char *string;
- TkSizeT count = 2*(polyPtr->numPoints - polyPtr->autoClosed);
+ TkSizeT count = 2*(polyPtr->numPoints - polyPtr->autoClosed);
if (TCL_OK == TkGetIntForIndex(obj, (INT_MAX - 1) - ((INT_MAX) % count), 1, &idx)) {
if (idx == TCL_INDEX_NONE) {