Commit 915bb23f authored by hybrid's avatar hybrid

Fixed signedness warnings.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1708 dfc29bdd-3216-0410-991c-e03cc46cb475
parent f0ff9d99
......@@ -102,11 +102,11 @@ namespace core
{
while (i<(u32)Width)
i<<=1;
if (!larger && i!=1 && i!=Width)
if (!larger && i!=1 && i!=(u32)Width)
i>>=1;
while (j<(u32)Height)
j<<=1;
if (!larger && j!=1 && j!=Height)
if (!larger && j!=1 && j!=(u32)Height)
j>>=1;
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment