Fix a scanf type mismatch

"%o" takes an unsigned int.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-03-23 23:39:12 +02:00 committed by Daniel Stone
parent f52671a4d1
commit 7cc17ec507
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ extern int yyparse(void);
<S_STR,S_KEY>\\[0-7]{1,3} {
/* octal escape sequence */
int result;
unsigned int result;
(void) sscanf( yytext + 1, "%o", &result );