diff options
author | Bruno Haible <bruno@clisp.org> | 2005-07-18 11:39:57 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:12:39 +0200 |
commit | 6f8891c82889ec5a94e7f2a71cd2c1bb1cf1a96a (patch) | |
tree | 4231ce1de77c8bdeb4e9053883a652f203a6cfb9 /gettext-tools/src/po-lex.c | |
parent | d21abbf1f51d0e9ecfe7dec0ad5a352cfddf7455 (diff) | |
download | external_gettext-6f8891c82889ec5a94e7f2a71cd2c1bb1cf1a96a.zip external_gettext-6f8891c82889ec5a94e7f2a71cd2c1bb1cf1a96a.tar.gz external_gettext-6f8891c82889ec5a94e7f2a71cd2c1bb1cf1a96a.tar.bz2 |
Avoid a gcc warning on Linux/PowerPC.
Diffstat (limited to 'gettext-tools/src/po-lex.c')
-rw-r--r-- | gettext-tools/src/po-lex.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gettext-tools/src/po-lex.c b/gettext-tools/src/po-lex.c index a9ec3c0..6a4fee8 100644 --- a/gettext-tools/src/po-lex.c +++ b/gettext-tools/src/po-lex.c @@ -310,7 +310,11 @@ mb_width (const mbchar_t mbc) { if (mbc->bytes == 1) { - if (mbc->buf[0] >= 0x00 && mbc->buf[0] <= 0x1F) + if ( +#if CHAR_MIN < 0x00 /* to avoid gcc warning */ + mbc->buf[0] >= 0x00 && +#endif + mbc->buf[0] <= 0x1F) { if (mbc->buf[0] == 0x09) return 8 - (gram_pos_column & 7); |