mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
libstdc++: Add parentheses around operand of |
libstdc++-v3/ChangeLog: * include/bits/unicode.h (_Utf_iterator::_M_read_utf16): Add parentheses.
This commit is contained in:
committed by
Jonathan Wakely
parent
7b5c974dfc
commit
d8992f70a5
@@ -377,7 +377,7 @@ namespace __unicode
|
||||
{
|
||||
++_M_curr();
|
||||
__to_incr = 2;
|
||||
uint32_t __x = (__u & 0x3F) << 10 | __u2 & 0x3FF;
|
||||
uint32_t __x = (__u & 0x3F) << 10 | (__u2 & 0x3FF);
|
||||
uint32_t __w = (__u >> 6) & 0x1F;
|
||||
__c = (__w + 1) << 16 | __x;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user