Follow-up Comment #11, bug #67735 (group groff):
commit 7b85efe63117bf9d6d33911dc962bd33a611ea50 Author: G. Branden Robinson <[email protected]> Date: Thu Dec 25 18:58:23 2025 -0600 src/roff/troff/input.cpp: Work on Savannah #67735. * src/roff/troff/input.cpp (do_define_macro): Assign `char`-valued literals to temporary `int` storing value we got from `read_char_in_copy_mode()` (which calls `input_iterator::fill()`, which in turn calls getc(3)), since it is destined to become an input character--if we don't have to handle EOF. Since we must, drop C-style type casts to `unsigned char` while still scanning input. Absence of a premature EOF established, use `static_cast` operator to demote this `int` to `unsigned char` before appending it to a macro. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?67735> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
