Commit 8c448c6b authored by Stefan Kangas's avatar Stefan Kangas
Browse files

Silence warning in print.c

* src/print.c (print_bool_vector): Silence warning.
parent 346e5712
Pipeline #27525 failed with stages
in 42 minutes and 45 seconds
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment