diff options
author | Marc Mutz <[email protected]> | 2025-10-16 18:00:46 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2025-10-19 18:25:27 +0200 |
commit | 72663b81177aa17b3ebfeaff63a687729194f6d7 (patch) | |
tree | 08c814c3769296f4d07edd0e0d33a5b39eba3946 /util/plugintest/main.cpp | |
parent | 168a2e3efc348e3cba91a638fc25c1d15a725d78 (diff) |
Same pattern as in the previous few patches: the old code used a
char32_t to temporarily store a UTF-16 code point, narrowing it back
to char16_t in a call to QChar::surrogateToUcs4(), triggering Clang 21
-Wcharacter-conversion.
Solution is also the same: keep the UTF-16 code unit in a separate
variable, until we have determined whether it needs surrogate decoding
or merely promotion to char32_t.
Amends the start of the public history.
Pick-to: 6.10 6.8 6.5
Change-Id: I955948348d637c4fe13485808bef47a4ee58f7bf
Reviewed-by: Ahmad Samir <[email protected]>
Diffstat (limited to 'util/plugintest/main.cpp')
0 files changed, 0 insertions, 0 deletions