]> code.delx.au - gnu-emacs/commitdiff
* bidi.c (bidi_dump_cached_states): Fix printf format mismatch.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Jul 2011 16:39:39 +0000 (09:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Jul 2011 16:39:39 +0000 (09:39 -0700)
Found by GCC static checking and --with-wide-int on a 32-bit host.

src/ChangeLog
src/bidi.c

index b3d2f64bcc7059af76ea61d75ad44fa34c208c48..3fc8067e114ea2c3bca4eadd53c4b3c1e64e191e 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * bidi.c (bidi_dump_cached_states): Fix printf format mismatch.
+       Found by GCC static checking and --with-wide-int on a 32-bit host.
+
 2011-07-25  Eli Zaretskii  <eliz@gnu.org>
 
        * xdisp.c (compute_display_string_pos): Fix logic of caching
index c83ee5499239c37a54b37f01c0272206503286b6..412dc94cb8681a47012c454865e7d029c2748327 100644 (file)
@@ -2308,7 +2308,7 @@ bidi_dump_cached_states (void)
       fprintf (stderr, "The cache is empty.\n");
       return;
     }
-  fprintf (stderr, "Total of  %"pD"d state%s in cache:\n",
+  fprintf (stderr, "Total of  %"pI"d state%s in cache:\n",
           bidi_cache_idx, bidi_cache_idx == 1 ? "" : "s");
 
   for (i = bidi_cache[bidi_cache_idx - 1].charpos; i > 0; i /= 10)