projects
/
tools
/
libFuzzer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e4c0d
)
[libFuzzer] fix a compiler warning
author
Kostya Serebryany
<kcc@google.com>
Wed, 10 May 2017 23:59:03 +0000
(23:59 +0000)
committer
Maria Guseva
<m.guseva@samsung.com>
Tue, 11 Jul 2017 02:46:03 +0000
(11:46 +0900)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302747
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Fuzzer/FuzzerMutate.cpp
patch
|
blob
|
history
diff --git
a/lib/Fuzzer/FuzzerMutate.cpp
b/lib/Fuzzer/FuzzerMutate.cpp
index
cd846c7
..
a84e6ee
100644
(file)
--- a/
lib/Fuzzer/FuzzerMutate.cpp
+++ b/
lib/Fuzzer/FuzzerMutate.cpp
@@
-217,7
+217,8
@@
DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP(
size_t NumPositions = 0;
for (const uint8_t *Cur = Data;
Cur < End && NumPositions < kMaxNumPositions; Cur++) {
- Cur = (uint8_t *)SearchMemory(Cur, End - Cur, ExistingBytes, ArgSize);
+ Cur =
+ (const uint8_t *)SearchMemory(Cur, End - Cur, ExistingBytes, ArgSize);
if (!Cur) break;
Positions[NumPositions++] = Cur - Data;
}