mirror of
https://github.com/intel/llvm.git
synced 2026-02-07 15:44:20 +08:00
[compiler-rt] Fix a typo in a comment in FuzzedDataProvider.h.
This commit is contained in:
@@ -304,7 +304,7 @@ class FuzzedDataProvider {
|
||||
if (std::numeric_limits<TS>::is_modulo)
|
||||
return static_cast<TS>(value);
|
||||
|
||||
// Avoid using implementation-defined unsigned to signer conversions.
|
||||
// Avoid using implementation-defined unsigned to signed conversions.
|
||||
// To learn more, see https://stackoverflow.com/questions/13150449.
|
||||
if (value <= std::numeric_limits<TS>::max()) {
|
||||
return static_cast<TS>(value);
|
||||
|
||||
Reference in New Issue
Block a user