diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2018-07-28 14:35:00 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2018-07-28 14:39:05 +0100 |
commit | 1d52e081bc36edef3f8503fae18db0291b186c68 (patch) | |
tree | cc3faa5118ab26ac4a1256ae096e304442a123da /include/libcss | |
parent | a0fcc8e5dee6f61c12ce44503edd26e699d5e663 (diff) | |
download | libcss-1d52e081bc36edef3f8503fae18db0291b186c68.tar.gz |
Parsing: Fix undefined shift in css__parse_hash_colour.
uint a = 0xff;
a << 24
`a` gets promoted to int, which can't store the value.
src/parse/properties/utils.c:655:16: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
src/parse/properties/utils.c:889:15: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
Diffstat (limited to 'include/libcss')
0 files changed, 0 insertions, 0 deletions