+2005-07-17 Bruno Haible <bruno@clisp.org>
+
+ * po-lex.c (mb_width): Remove gcc warnings on platform with unsigned
+ 'char' type (e.g. Linux/PowerPC).
+ Reported by Jeff Rizzo <riz@netbsd.org>.
+
2005-07-05 Bruno Haible <bruno@clisp.org>
* Makefile.am (msgmerge_SOURCES, xgettext_SOURCES, msgattrib_SOURCES,
{
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);