mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-19 14:13:30 +00:00
glyphs: fix types
The code was written on top of buffers of `char[26]`, and then was changed to use `char *`, yet was still using `sizeof buf`, which became `sizeof (char *)` instead of `sizeof (char[26])`. Reported by Dagobert Michelsen. https://lists.gnu.org/r/bug-bison/2020-07/msg00023.html * src/glyphs.h, src/glyphs.c: Get rid of uses of `char *`, use only glyph_buffer_t.
This commit is contained in:
1 parent
b28d67b6b0
commit
744da03955
3 files changed
+28
-30