fix warning

This commit is contained in:
Chris Danford
2005-02-14 01:37:08 +00:00
parent 230ba5b9a9
commit 43c221c1fa
-2
View File
@@ -64,8 +64,6 @@ inline void wrap(int &x, int n)
}
inline void wrap(unsigned &x, unsigned n)
{
if (x<0)
x += ((-x/n)+1)*n;
x %= n;
}
inline void wrap(float &x, float n)