Use ptrdiff_t for composition IDs.
[bpt/emacs.git] / src / window.c
index 3f5a743..04fea6b 100644 (file)
@@ -5069,7 +5069,7 @@ and redisplay normally--don't erase and redraw the frame.  */)
          && (!EQ (Vrecenter_redisplay, Qtty)
              || !NILP (Ftty_type (selected_frame))))
        {
-         int i;
+         ptrdiff_t i;
 
          /* Invalidate pixel data calculated for all compositions.  */
          for (i = 0; i < n_compositions; i++)