summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvas.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-31 15:01:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-31 15:01:06 (GMT)
commit212e57435023aa44299d05a59e46796a94d16ec2 (patch)
treeafeac1e26ff9ff97b8865852a2204dba8cfb802c /generic/tkCanvas.c
parentae793ce8de5e08f9f0c6d3dd1bd52899fc188e56 (diff)
downloadtk-212e57435023aa44299d05a59e46796a94d16ec2.zip
tk-212e57435023aa44299d05a59e46796a94d16ec2.tar.gz
tk-212e57435023aa44299d05a59e46796a94d16ec2.tar.bz2
Use TIP #616 API (WIP)
Diffstat (limited to 'generic/tkCanvas.c')
-rw-r--r--generic/tkCanvas.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 829d65a..0ca3596 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -598,7 +598,8 @@ DefaultRotateImplementation(
double y,
double angleRadians)
{
- int objc, i, ok = 1;
+ TkSizeT i, objc;
+ int ok = 1;
Tcl_Obj **objv, **newObjv;
double *coordv;
double s = sin(angleRadians);
@@ -2382,7 +2383,7 @@ ConfigureCanvas(
canvasPtr->scrollX2 = 0;
canvasPtr->scrollY2 = 0;
if (canvasPtr->regionString != NULL) {
- int argc2;
+ TkSizeT argc2;
const char **argv2;
if (Tcl_SplitList(canvasPtr->interp, canvasPtr->regionString,