[NFC] Suppress warning after D139114
authorVitaly Buka <vitalybuka@google.com>
Fri, 13 Jan 2023 22:29:51 +0000 (14:29 -0800)
committerVitaly Buka <vitalybuka@google.com>
Fri, 13 Jan 2023 22:37:21 +0000 (14:37 -0800)
llvm/lib/Support/UnicodeNameToCodepoint.cpp

index a10a7e8..df71be3 100644 (file)
@@ -105,7 +105,7 @@ static Node readNode(uint32_t Offset, const Node *Parent = nullptr) {
     uint8_t H = UnicodeNameToCodepointIndex[Offset++];
     N.HasSibling = H & 0x80;
     bool HasChildren = H & 0x40;
-    H &= ~0xC0;
+    H &= ~uint8_t(0xC0);
     if (HasChildren) {
       N.ChildrenOffset = (H << 16);
       N.ChildrenOffset |=