From 8c448c6b4f75bb1cb1c560d7a674bd349147d2c8 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 17 Dec 2023 11:58:24 +0100 Subject: [PATCH] Silence warning in print.c * src/print.c (print_bool_vector): Silence warning. --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/print.c b/src/print.c index a5d57adbd3b..09e00329676 100644 --- a/src/print.c +++ b/src/print.c @@ -1618,7 +1618,7 @@ print_bool_vector (Lisp_Object obj, Lisp_Object printcharfun) ptrdiff_t real_size_in_bytes = size_in_bytes; unsigned char *data = bool_vector_uchar_data (obj); - char buf[sizeof "#&" + INT_STRLEN_BOUND (ptrdiff_t)]; + char buf[sizeof "#&\"" + INT_STRLEN_BOUND (ptrdiff_t)]; int len = sprintf (buf, "#&%"pI"d\"", size); strout (buf, len, len, printcharfun); -- 2.39.2