Hotfix for build on OSX with -Werror,-Wtautological-compare

ruslantproductengine 2015-05-05 21:05:13 +03:00
parent eb70b5e7e0
commit c3affc4d6b
1 changed files with 1 additions and 3 deletions

View File

@ -197,9 +197,7 @@ private:
{
pos = val >> 16;
if (pos < 0)
vp[j] = 0;
else if (pos >= (srcSz - 1))
if (pos >= (srcSz - 1))
vp[j] = 0;
else
vp[j] = (val >> 8) - ((val >> 8) & 0xffffff00);