diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-23 14:26:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-26 09:34:51 +0000 |
commit | e54dc7b8a4823db1050a11ec72f814bbecd3ba4a (patch) | |
tree | 6d8057a36676ab6e6042433646862a4b721a97ce /l10ntools/source/srclex.l | |
parent | 215b2f5e599c308d3b0f0e118fe15e131adec03f (diff) |
WaE: comparison of char to EOF always false on ppc
Change-Id: I77b27ea765230d13b9b81faf5b5cf5acc4897616
Diffstat (limited to 'l10ntools/source/srclex.l')
-rw-r--r-- | l10ntools/source/srclex.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l index 9215702b3c98..755b0b382008 100644 --- a/l10ntools/source/srclex.l +++ b/l10ntools/source/srclex.l @@ -94,7 +94,8 @@ void YYWarning(); WorkOnTokenSet( IGNOREDTOKENS, yytext ); } "/*" { - char c1 = 0,c2 = yyinput(); + char c1 = 0; + int c2 = yyinput(); char pChar[2]; pChar[1] = 0x00; pChar[0] = c2; |