Skip to content

Commit 858ca7c

Browse files
authored
Fix typo: char should be TS
1 parent 6359049 commit 858ca7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/include/fuzzer/FuzzedDataProvider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ TS FuzzedDataProvider::ConvertUnsignedToSigned(TU value) {
390390
return static_cast<TS>(value);
391391
} else {
392392
constexpr auto TS_min = std::numeric_limits<TS>::min();
393-
return TS_min + static_cast<char>(value - TS_min);
393+
return TS_min + static_cast<TS>(value - TS_min);
394394
}
395395
}
396396

0 commit comments

Comments
 (0)