summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mklocale')
-rw-r--r--usr.bin/mklocale/lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mklocale/lex.l b/usr.bin/mklocale/lex.l
index 0e2f1a9..bd5923a 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';
OpenPOWER on IntegriCloud