projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[LibFuzzer] Introducing FUZZER_FLAG_UNSIGNED and using it for seeding.
[oota-llvm.git]
/
lib
/
Fuzzer
/
FuzzerInterface.cpp
diff --git
a/lib/Fuzzer/FuzzerInterface.cpp
b/lib/Fuzzer/FuzzerInterface.cpp
index 79cb0e40f0e2454265dbe9e4ff4f2b651c48c9b0..bcd726fc08e452460a5aa7d0721ad3f0ca7ccdb2 100644
(file)
--- a/
lib/Fuzzer/FuzzerInterface.cpp
+++ b/
lib/Fuzzer/FuzzerInterface.cpp
@@
-15,7
+15,7
@@
namespace fuzzer {
-void FuzzerRandomLibc::ResetSeed(int seed) { srand(seed); }
+void FuzzerRandomLibc::ResetSeed(
unsigned
int seed) { srand(seed); }
size_t FuzzerRandomLibc::Rand() { return rand(); }