This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Bug with unsigned int data type?
- From: bjorn rohde jensen <bjensen at fastmail dot fm>
- To: Steve Dondley <s at dondley dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 13 Oct 2002 17:06:02 +0200
- Subject: Re: Bug with unsigned int data type?
- References: <FAECKOGIHAIBBPKBOKGNKEDLDOAA.s@dondley.com>
- Reply-to: bjensen at fastmail dot fm
Hi Steve,
Your litteral is signed as it is written, and the
nice gcc/g++ compiler is warning you. You need to
write the litteral as 2147483648U.
Yours sincerely,
Bjorn