--- \dll\iup\a\src\win\iupwin_canvas.c	2019-12-26 12:44:54.000000000 -0300
+++ iupwin_canvas.c	2020-02-17 20:02:22.371835800 -0300
@@ -300,7 +300,7 @@
 
 static void winCanvasProcessHorScroll(Ihandle* ih, WORD winop)
 {
-  double xmin, xmax, posx, linex;
+  double xmin, xmax, posx;
   int ipagex, iposx, ilinex, op;
 
   /* unused */
@@ -322,6 +322,8 @@
   }
   else
   {
+	int linex;
+
     /* line and page conversions are the same */
     linex = iupAttribGetDouble(ih,"LINEX");
     iupCanvasCalcScrollIntPos(xmin, xmax, linex, 0, 
@@ -366,7 +368,7 @@
 
 static void winCanvasProcessVerScroll(Ihandle* ih, WORD winop)
 {
-  double ymin, ymax, posy, liney;
+  double ymin, ymax, posy;
   int ipagey, iposy, iliney, op;
 
   /* unused */
@@ -388,6 +390,8 @@
   }
   else
   {
+	int liney;
+
     /* line and page conversions are the same */
     liney = iupAttribGetDouble(ih,"LINEY");
     iupCanvasCalcScrollIntPos(ymin, ymax, liney, 0, 
