[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Bug#177435: wrong assumption on char signedness]
From: |
BORBELY Zoltan |
Subject: |
Re: address@hidden: Bug#177435: wrong assumption on char signedness] |
Date: |
Tue, 21 Jan 2003 01:42:24 +0100 |
User-agent: |
Mutt/1.4i |
Hi,
On Tue, Jan 21, 2003 at 09:57:37AM +1000, Bradley Marshall wrote:
> char is per default unsigned on arm, powerpc and s390. There is a warning
>
> smsd.c:203: warning: comparison is always false due to limited range of data
> type
[...]
> In your case the variable c should be defined as int. Defining it as char is
> even wrong on i386, since the char 0xff is then interpreted as EOF. On the
> platforms mentioned above the EOF condition is never true, leading to an
> infinite loop.
Fixed in the cvs.
Bye,
Bozo