Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] gcc:0x81 out of range
- Date: Mon, 18 Dec 2006 13:55:24 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] gcc:0x81 out of range
- References: <78d7dd350612172039x7d4b3e3fjb63152ee73156687@example.com>
- User-agent: Thunderbird 1.5.0.8 (X11/20061107)
> least, but with gcc 3.2.3, I got the warning ( as you can see ) : 0x81 > is out of range. 0x81 is out of range for a char. So either change your "char *" to "unsigned char *", or if you don't want to change the function interface you could just cast in the comparisons: ( 0x81 == *ps ) --> ( 0x81 == (unsigned char)*ps ) ( 0x81 == *p ) --> ( 0x81 == (unsigned char)*p ) Darren
- References:
- [tlug] gcc:0x81 out of range
- From: Nguyen Vu Hung
Home | Main Index | Thread Index
- Prev by Date: [tlug] gcc:0x81 out of range
- Next by Date: Re: [tlug] SATA software RAID or SAS hardware RAID?
- Previous by thread: [tlug] gcc:0x81 out of range
- Next by thread: [tlug] Re: gcc:0x81 out of range
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links