diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-14 18:51:24 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-14 19:28:14 -0700 |
commit | 85c4efc9f415e76244580dc85cce99c4df6ea4e8 (patch) | |
tree | 873e6ef3171e253644c716873a48464317899475 /src | |
parent | 0f5b1fcdf0be8c1b3084518f1c4f6f375828094b (diff) | |
download | emacs-85c4efc9f415e76244580dc85cce99c4df6ea4e8.tar.gz |
Prefer UINTMAX_WIDTH in print_object
* src/print.c (print_object):
Prefer UINTMAX_WIDTH to rolling our own substitute.
Diffstat (limited to 'src')
-rw-r--r-- | src/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index 6320c38fc6b..5c95aeb9a20 100644 --- a/src/print.c +++ b/src/print.c @@ -2202,7 +2202,7 @@ print_object (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag) char buf[max (sizeof "from..to..in " + 2 * INT_STRLEN_BOUND (EMACS_INT), max (sizeof " . #" + INT_STRLEN_BOUND (intmax_t), max ((sizeof " with data 0x" - + (sizeof (uintmax_t) * CHAR_BIT + 4 - 1) / 4), + + (UINTMAX_WIDTH + 4 - 1) / 4), 40)))]; current_thread->stack_top = NEAR_STACK_TOP (buf); |