Skip to content

Commit 75f359d

Browse files
[MC] Remove an unnecessary cast (NFC) (#146276)
C is already of unsigned char.
1 parent b62b58d commit 75f359d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/MC/MCAsmStreamer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ void MCAsmStreamer::PrintQuotedString(StringRef Data, raw_ostream &OS) const {
12211221
continue;
12221222
}
12231223

1224-
if (isPrint((unsigned char)C)) {
1224+
if (isPrint(C)) {
12251225
OS << (char)C;
12261226
continue;
12271227
}

0 commit comments

Comments
 (0)