diff options
author | Glenn Glazer <coyot@lindenlab.com> | 2016-04-08 09:57:18 -0700 |
---|---|---|
committer | Glenn Glazer <coyot@lindenlab.com> | 2016-04-08 09:57:18 -0700 |
commit | 6f4b709ab646f3f6483f96e5ee9dce6302ae07d3 (patch) | |
tree | 18690c3bbb893d044a7ef2d97132ca361fbeacdf | |
parent | db2fdaf469613a366dd2b469ebbf0d2f979c2ef5 (diff) |
fix paren
-rwxr-xr-x | indra/llkdu/llimagej2ckdu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llkdu/llimagej2ckdu.cpp b/indra/llkdu/llimagej2ckdu.cpp index 72919c9c40..282c859e9e 100755 --- a/indra/llkdu/llimagej2ckdu.cpp +++ b/indra/llkdu/llimagej2ckdu.cpp @@ -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); } |