Fix compiler warnings in jpeg_skip_scanlines() when building under Visual Studio.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1588 632fc199-4ca6-4c93-a231-07263d6284db
diff --git a/jdapistd.c b/jdapistd.c
index 413cb82..d34335f 100644
--- a/jdapistd.c
+++ b/jdapistd.c
@@ -205,8 +205,7 @@
 LOCAL(void)
 increment_simple_rowgroup_ctr (j_decompress_ptr cinfo, JDIMENSION rows)
 {
-  int i;
-  JDIMENSION rows_left;
+  JDIMENSION i, rows_left;
   my_main_ptr main_ptr = (my_main_ptr) cinfo->main;
 
   /* Increment the counter to the next row group after the skipped rows. */
@@ -240,7 +239,8 @@
   my_main_ptr main_ptr = (my_main_ptr) cinfo->main;
   my_coef_ptr coef = (my_coef_ptr) cinfo->coef;
   my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
-  int i, y, x;
+  JDIMENSION i, x;
+  int y;
   JDIMENSION lines_per_iMCU_row, lines_left_in_iMCU_row, lines_after_iMCU_row;
   JDIMENSION lines_to_skip, lines_to_read;