Re: warning in dmx.c

Brian Paul <[email protected]> Thu, 05 Oct 2006 11:12:18 -0600
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
James Supancic wrote:
>> Alternately, does changing "unsigned int" to "int" on line 97 silence
>> the warnings?
> 
> 
> Yea, that gets rid of them, but now I get
> dmx.c:103: warning: comparison between signed and unsigned
> for
> CRASSERT(numScreens == numBackendWindows);

OK, fixed in CVS.


>> Which compiler is this?
> 
> gcc 4.1.1, apparently it doesn't like implicit conversions from signed
> to unsigned values...

g++ has complained about those in earlier versions.  I guess gcc is 
catching up.

-Brian

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV