summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-11-23 14:26:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-11-26 09:34:51 +0000
commite54dc7b8a4823db1050a11ec72f814bbecd3ba4a (patch)
tree6d8057a36676ab6e6042433646862a4b721a97ce /l10ntools
parent215b2f5e599c308d3b0f0e118fe15e131adec03f (diff)
WaE: comparison of char to EOF always false on ppc
Change-Id: I77b27ea765230d13b9b81faf5b5cf5acc4897616
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/cfglex.l3
-rw-r--r--l10ntools/source/srclex.l3
-rw-r--r--l10ntools/source/xrmlex.l3
3 files changed, 6 insertions, 3 deletions
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l
index 3ace0a7c3563..e8e6b1ab24d0 100644
--- a/l10ntools/source/cfglex.l
+++ b/l10ntools/source/cfglex.l
@@ -101,7 +101,8 @@ int bText=0;
\<\!\-\- {
- char c1 = 0, c2 = 0, c3 = yyinput();
+ char c1 = 0, c2 = 0;
+ int c3 = yyinput();
char pChar[2];
pChar[1] = 0x00;
pChar[0] = c3;
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;
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index 8d6094c18d06..ad5b9490c097 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -156,7 +156,8 @@ int bText=0;
"<!--" {
- char c1 = 0, c2 = 0, c3 = yyinput();
+ char c1 = 0, c2 = 0;
+ int c3 = yyinput();
char pChar[2];
pChar[1] = 0x00;
pChar[0] = c3;