Files
Ahmad Khalifa da358db1cb ng_tty: avoid the sign extention of char
When c is compared to sc->hotchar, both undergo integer promotion, which
can lead to c being sign extended. Fix this by casting c to an unsigned
char.

Reviewed by:	kevans
MFC after:	5 days
Differential Revision:	https://reviews.freebsd.org/D54544

(cherry picked from commit 9b2478f60b)
2026-01-12 19:28:02 +02:00
..
2025-05-20 22:03:29 +01:00
2023-08-23 11:43:32 -06:00