diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 09:56:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 09:56:27 +0200 |
commit | 11cc9bdc21be241f2feb3ab4822d9d365dba4f96 (patch) | |
tree | 105a7f5b342e7510984c6db77067e8016de8a274 /config_host.mk.in | |
parent | d0f8361289dc6ed88f0ae8074bea34b57d811341 (diff) |
Avoid UBSan "left shift of 65536 by 16 places cannot be represented...
...in type 'int'" warning when constructing an XML_TOKEN_MAP_END instance, whose
nPrefixKey is 0xffffU. Problem got introduced with
41b3fd8ca54eff7e71c69bb0b60e63016f1ac8c2 "Make SvXMLTokenMap compatible with
FastTokens", the intent was presumably to make the shifted value of
( nPrefixKey + 1 ) << 16
be zero in that case.
Change-Id: I0b83a03198a44e54077899e4484634286d06cdcc
Diffstat (limited to 'config_host.mk.in')
0 files changed, 0 insertions, 0 deletions