summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2022-12-22 11:20:42 +0100
committerDavid Skoland <david.skoland@qt.io>2023-02-20 13:05:03 +0100
commit6d4f01b4cd77488e711637d3c8dbdbb2741e059d (patch)
tree484688915ff1bb39ca21dfed5893535e6e49a1c6
parent319f04b86af8e7b7db7e3d8609f55c11cfbfdafb (diff)
downloadqtsvg-6d4f01b4cd77488e711637d3c8dbdbb2741e059d.tar.gz
Make m_imageRenderingSet unsigned
Compiling qtsvg for webassembly, the compiler throws an error: svgstyle.cpp:58:25: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] which makes sense, given that a signed integer of bit width 1 doesn't really add up in any meaningful way. A simple solution is to simply make the type unsigned. Change-Id: I49c6019bc48e98ce953f945a24cab7a32dd6f37a Pick-to: 6.5 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
0 files changed, 0 insertions, 0 deletions