Fix a scanf type mismatch
"%o" takes an unsigned int. Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
f52671a4d1
commit
7cc17ec507
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue