]> git.eshelyaron.com Git - emacs.git/commit
Fix buffer size problem in print_bool_vector
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 14 Jul 2024 22:45:31 +0000 (23:45 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 17 Jul 2024 21:53:51 +0000 (23:53 +0200)
commit66b26e6722fe3d98e4fc467fca086a86c68f7b6b
treeb7be3e37287ac7627e4d226c521608ad4ca81458
parenta51474e9e5f0999dcdf7ff5d24e3cad9a6939eba
Fix buffer size problem in print_bool_vector

* src/print.c (print_bool_vector): Don’t assume SIZE fits
into ptrdiff_t, since it is an EMACS_INT.  This
pacifies gcc -Wformat-overflow on i686 --with-wide-int.

(cherry picked from commit a53fd69fe21ea057cd257e663219a33399545949)
src/print.c