1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers

This commit is contained in:
2012-11-11 22:34:05 -08:00
parent 6d4726c766
commit 40d5e2e867
16 changed files with 17 additions and 11 deletions

View File

@ -604,7 +604,7 @@ float hsFastMath::IATan2OverTwoPi(float y, float x)
if( (x == 0)&&(y == 0) )
return 0;
bool xNeg, yNeg;
int xNeg, yNeg;
if((yNeg = (y < 0)))y = -y;
if((xNeg = (x < 0)))x = -x;
bool yBigger = y >= x;