commit | 1eeceefb04e1d9f66f91cbaecdf2361b7f52c4ab | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Wed Mar 09 16:42:40 2016 -0800 |
committer | Stephen Hines <srhines@google.com> | Fri Mar 11 16:52:09 2016 -0800 |
tree | 68cb3e406a4e3754949688dcd3035bed0e470609 | |
parent | 0a96dae887857fc06f997b17152df9580fdcb9ac [diff] |
Fix some errors in errorCalculator.rs. Bug: http://b/26987366 This code was accidentally casting a uchar4 to a single integer, which the latest llvm-rs-cc will flag as an error. The comparison was also incorrectly using a single integer comparison, instead of looking at all 4 uchar vector components. (cherry picked from commit 74be0c9b4329bb79ed46f2532022995429ffdfe8) Change-Id: Ic3727e234ffc87571ccacab19b2a4efb27ac0f20