logging: Fix signed integer cast for isprint
Casting the value byte to char may result in it being a negative
number. On some platforms this could lead to either UB, or a crash.
Signed-off-by:
Dennis Sitelew <dennis.sitelew@grandcentrix.net>
Loading
Please sign in to comment