skia /
skcms /
e2eabcb5225c155f7d43a4800997b09ef1ef9420 explicitly cast 16-bit constants to uint16_t
For some reason GCC 8.1 is now giving me this error when
we use these integer constants:
error: conversion of scalar 'int' to vector 'U16x8'
{aka '__vector(8) short unsigned int'} involves truncation
Casting the constants explicitly to uint16_t seems to quiet it.
Change-Id: I46f7012bf2a0c9e05ac407e81bef398a2b308eb1
Reviewed-on: https://skia-review.googlesource.com/138993
Auto-Submit: Mike Klein <mtklein@chromium.org>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
1 file changed