Skip to content
Commit d142df53 authored by Kenny Root's avatar Kenny Root
Browse files

Prevent sign extension in IccUtils.parseToRGB

When a signed byte value is taken from an array, make sure to truncate
it so it doesn't have a problem when it's sign extended to 32-bit.

Change-Id: Ic2b35c317e21c63dff960501145a4f3074b687ad
parent a4437fc9
Loading
Loading
Loading
Loading
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