1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

[renderer] Cast to unsigned char. Refs #94

This commit is contained in:
Witold Filipczyk 2021-02-26 21:26:45 +01:00
parent d4157366b0
commit 6ea0aa44a1

View File

@ -1723,7 +1723,7 @@ process_link(struct html_context *html_context, enum link_state link_state,
if (!part->document) return;
/* Trim leading space from the link text */
while (x_offset < charslen && chars[x_offset] <= ' ')
while (x_offset < charslen && (unsigned char)chars[x_offset] <= ' ')
x_offset++;
if (x_offset) {