Skip to content

Commit dcf178f

Browse files
committed
NFC: Suppress implicit conversion warning in Serialization.cpp.
1 parent f559371 commit dcf178f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Serialization/Serialization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3210,7 +3210,7 @@ class Serializer::DeclSerializer : public DeclVisitor<DeclSerializer> {
32103210
} else if (auto likeArrayTypeAndCount = attr->getResolvedArrayLikeTypeAndCount()) {
32113211
typeID = S.addTypeRef(likeArrayTypeAndCount->first);
32123212
rawSize = likeArrayTypeAndCount->second;
3213-
rawAlign = ~0u;
3213+
rawAlign = static_cast<uint8_t>(~0u);
32143214
} else {
32153215
llvm_unreachable("unhandled raw layout attribute, or trying to serialize unresolved attr!");
32163216
}

0 commit comments

Comments
 (0)