From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29102 invoked by alias); 13 Oct 2002 15:06:08 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 29095 invoked from network); 13 Oct 2002 15:06:08 -0000 Received: from unknown (HELO www.fastmail.fm) (209.61.183.86) by sources.redhat.com with SMTP; 13 Oct 2002 15:06:08 -0000 Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 4FC136DAEF; Sun, 13 Oct 2002 10:06:03 -0500 (CDT) X-Epoch: 1034521563 X-Sasl-enc: I47igrdyl4yY8eXkkY6BKA Received: from fastmail.fm (x1-6-00-e0-81-03-b8-78.k35.webspeed.dk [62.242.176.171]) by www.fastmail.fm (Postfix) with ESMTP id 87C8B6DC07; Sun, 13 Oct 2002 10:06:02 -0500 (CDT) Message-ID: <3DA98BDA.2060302@fastmail.fm> Date: Sun, 13 Oct 2002 08:06:00 -0000 From: bjorn rohde jensen Reply-To: bjensen@fastmail.fm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Dondley Cc: gcc-help@gcc.gnu.org Subject: Re: Bug with unsigned int data type? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg00147.txt.bz2 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