DescriptionFix code that left shifts a negative value. This has undefined behavior.
Patched from internal cl/107515669 by rtrieu and added comments.
BUG=skia:2481
Committed: https://skia.googlesource.com/skia/+/0b2a18922146c6134515d42baf5935b71bba03c3
Patch Set 1 #Patch Set 2 : Add comment about unsigned cast. #
Messages
Total messages: 14 (5 generated)
|