about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTLex.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTLex.c')
-rw-r--r--WWW/Library/Implementation/HTLex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTLex.c b/WWW/Library/Implementation/HTLex.c
index 59901fb3..64b113d8 100644
--- a/WWW/Library/Implementation/HTLex.c
+++ b/WWW/Library/Implementation/HTLex.c
@@ -89,7 +89,7 @@ PUBLIC LexItem lex ARGS1(FILE *, fp)
 	    }
 	    break;
 	  default:
-	    HTlex_buffer[lex_cnt++] = ch;
+	    HTlex_buffer[lex_cnt++] = (char) ch;
 	    HTlex_buffer[lex_cnt] = '\0';
 	    if ('*' == ch) lex_template = YES;
 	} /* switch ch */