diff options
author | fvogel <fvogelnew1@free.fr> | 2021-10-10 19:42:46 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2021-10-10 19:42:46 (GMT) |
commit | e6d29da8734bc5334fce0f0fac80776e3e339fb0 (patch) | |
tree | 5b7d2642c19c94f008db07b96b542add7b8f1dda /generic/tkCanvPoly.c | |
parent | 84fee58cd256d5aaa143d2741304717afb1c9a4b (diff) | |
download | tk-e6d29da8734bc5334fce0f0fac80776e3e339fb0.zip tk-e6d29da8734bc5334fce0f0fac80776e3e339fb0.tar.gz tk-e6d29da8734bc5334fce0f0fac80776e3e339fb0.tar.bz2 |
Remove superfluous casts.
Diffstat (limited to 'generic/tkCanvPoly.c')
-rw-r--r-- | generic/tkCanvPoly.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvPoly.c b/generic/tkCanvPoly.c index e447143..b105630 100644 --- a/generic/tkCanvPoly.c +++ b/generic/tkCanvPoly.c @@ -1034,7 +1034,7 @@ PolygonInsert( } oriNumPoints = polyPtr->numPoints - polyPtr->autoClosed; length = 2*(polyPtr->numPoints - polyPtr->autoClosed); - nbInsPoints = (int)objc / 2; + nbInsPoints = objc / 2; while (beforeThis > length) { beforeThis -= length; } |