diff --git a/usr.bin/mklocale/lex.l b/usr.bin/mklocale/lex.l index 0e2f1a9833b3..bd5923a53413 100644 --- a/usr.bin/mklocale/lex.l +++ b/usr.bin/mklocale/lex.l @@ -53,7 +53,7 @@ XDIGIT [0-9a-fA-F] W [\t\n\r ] %% -\'.\' { yylval.rune = yytext[1]; +\'.\' { yylval.rune = (unsigned char)yytext[1]; return(RUNE); } '\\a' { yylval.rune = '\a';