commit | e26fa7de870663aeffd61bdbb5bf9560c75964b6 | [log] [tgz] |
---|---|---|
author | Florian Kriener <floriank@google.com> | Fri Mar 18 09:05:28 2016 +0100 |
committer | Florian Kriener <floriank@google.com> | Fri Mar 18 09:07:32 2016 +0100 |
tree | ac97b8b122c85011879da401162320e43e4ecc43 | |
parent | 1754202ed3e25b98179a4f377f0bdd605d9a157a [diff] |
Fix some implementation defined behavior in dng_image.cpp Some operations in dng_image.cpp of the form a + b and a - b, where a is of type int and b is of type uint32, would be computed as unsigned int operations due to "usual arithmetic conversions". This unsigned int result would then be stored as an int which is implementation defined.