* bidi.c (bidi_dump_cached_states): Fix printf format mismatch.
Found by GCC static checking and --with-wide-int on a 32-bit host.
This commit is contained in:
parent
2238127283
commit
2eb1f9e6a5
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue