Fix several printfs for 32 bit systems
* lib-src/emacsclient.c (main): Use right length modifier when printing uintmax_t. * src/alloc.c (check_pure_size): Use right length modifier when printing ptrdiff_t.
This commit is contained in:
parent
e6dc0cf2d3
commit
a1f1072975
2 changed files with 2 additions and 2 deletions
|
@ -2161,7 +2161,7 @@ main (int argc, char **argv)
|
|||
if (timeout > 0)
|
||||
{
|
||||
/* Don't retry if we were given a --timeout flag. */
|
||||
fprintf (stderr, "\nServer not responding; timed out after %lu seconds",
|
||||
fprintf (stderr, "\nServer not responding; timed out after %ju seconds",
|
||||
timeout);
|
||||
retry = false;
|
||||
}
|
||||
|
|
|
@ -5368,7 +5368,7 @@ void
|
|||
check_pure_size (void)
|
||||
{
|
||||
if (pure_bytes_used_before_overflow)
|
||||
message (("emacs:0:Pure Lisp storage overflow (approx. %"pI"d"
|
||||
message (("emacs:0:Pure Lisp storage overflow (approx. %"pD"d"
|
||||
" bytes needed)"),
|
||||
pure_bytes_used + pure_bytes_used_before_overflow);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue