aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPo Lu2022-09-10 09:35:49 +0800
committerPo Lu2022-09-10 09:35:49 +0800
commita1f1072975cdb7b3f80d1d0e0030f2b28171d0ed (patch)
tree695a56c2387f1a8eeb7281deafc13934d400a2a2 /src/alloc.c
parente6dc0cf2d399c907f345e11eeaa4e5d08fc4d7b6 (diff)
downloademacs-a1f1072975cdb7b3f80d1d0e0030f2b28171d0ed.tar.gz
emacs-a1f1072975cdb7b3f80d1d0e0030f2b28171d0ed.zip
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.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 34bedac36ba..7183c9ffa86 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5368,7 +5368,7 @@ void
5368check_pure_size (void) 5368check_pure_size (void)
5369{ 5369{
5370 if (pure_bytes_used_before_overflow) 5370 if (pure_bytes_used_before_overflow)
5371 message (("emacs:0:Pure Lisp storage overflow (approx. %"pI"d" 5371 message (("emacs:0:Pure Lisp storage overflow (approx. %"pD"d"
5372 " bytes needed)"), 5372 " bytes needed)"),
5373 pure_bytes_used + pure_bytes_used_before_overflow); 5373 pure_bytes_used + pure_bytes_used_before_overflow);
5374} 5374}