Skip to content

Commit 1c539f0

Browse files
committed
changing casting to use proper llvm-casting
1 parent 5c23b7e commit 1c539f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/MC/DXContainerRootSignature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ void RootSignatureDesc::write(raw_ostream &OS) const {
137137
llvm::endianness::little);
138138
rewriteOffsetToCurrentByte(BOS, writePlaceholder(BOS));
139139
for (const auto &Range : Table) {
140-
support::endian::write(BOS, (uint32_t)Range.RangeType,
140+
support::endian::write(BOS, static_cast<uint32_t>(Range.RangeType),
141141
llvm::endianness::little);
142142
support::endian::write(BOS, Range.NumDescriptors,
143143
llvm::endianness::little);

0 commit comments

Comments
 (0)