Skip to content
Snippets Groups Projects
Commit 6f4b709a authored by Glenn Glazer's avatar Glenn Glazer
Browse files

fix paren

parent db2fdaf4
No related branches found
No related tags found
No related merge requests found
......@@ -1034,7 +1034,7 @@ all necessary level shifting, type conversion, rounding and truncation. */
val = (kdu_int32)(sp->fval*scale16);
val = (val+128)>>8; // May be faster than true rounding
val += 128;
if (val & (((0xffffffffU)<<8))
if (val & ((0xffffffffU)<<8))
{
val = (val < 0 ? 0 : 255);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment