c++/4645: -Wall warning for -1 return on signed long does not make sense
aoliva@gcc.gnu.org
aoliva@gcc.gnu.org
Thu Nov 15 12:40:00 GMT 2001
Synopsis: -Wall warning for -1 return on signed long does not make sense
State-Changed-From-To: open->feedback
State-Changed-By: aoliva
State-Changed-When: Sun Nov 25 09:28:06 2001
State-Changed-Why:
Could it be the type of PZSTREAM->total_out causing nOldTotal_Out to promote to unsigned long int, and ditto for the ``else'' branch of the ternary operator?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4645&database=gcc
More information about the Gcc-bugs
mailing list