]> git.eshelyaron.com Git - emacs.git/commitdiff
* xdisp.c (string_from_display_spec): Don't use int for vector length.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 24 Sep 2011 16:28:25 +0000 (09:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 24 Sep 2011 16:28:25 +0000 (09:28 -0700)
src/ChangeLog
src/xdisp.c

index 68c0054114c9bde65463fb1b399f550d733a43d2..5131d48eff5c42e06cf423047cba61e0f11928f0 100644 (file)
@@ -1,5 +1,7 @@
 2011-09-24  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * xdisp.c (string_from_display_spec): Don't use int for vector length.
+
        * indent.c (Fvertical_motion): Fix == vs = typo.
 
 2011-09-24  Eli Zaretskii  <eliz@gnu.org>
index 3f545fae248f54160c3853a487883183a57f5ecc..a556236835c18af7800ee4bba572ef73be15d48d 100644 (file)
@@ -1226,7 +1226,7 @@ string_from_display_spec (Lisp_Object spec)
     }
   else if (VECTORP (spec))
     {
-      int i;
+      ptrdiff_t i;
 
       for (i = 0; i < ASIZE (spec); i++)
        {