We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6c1b56 commit 17d6359Copy full SHA for 17d6359
llvm/lib/MC/MCSymbol.cpp
@@ -28,7 +28,7 @@ void *MCSymbol::operator new(size_t s, const StringMapEntry<bool> *Name,
28
// For safety, ensure that the alignment of a pointer is enough for an
29
// MCSymbol. This also ensures we don't need padding between the name and
30
// symbol.
31
- static_assert(AlignOf<MCSymbol>::Alignment <=
+ static_assert((unsigned)AlignOf<MCSymbol>::Alignment <=
32
AlignOf<NameEntryStorageTy>::Alignment,
33
"Bad alignment of MCSymbol");
34
void *Storage = Ctx.allocate(Size, alignOf<NameEntryStorageTy>());
0 commit comments