mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Fix compiler warning in standalone fuzzer driver
This commit is contained in:
parent
0623539d80
commit
8e6539b55f
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
auto input_buffer = std::make_unique<uint8_t[]>(input_length);
|
auto input_buffer = std::make_unique<uint8_t[]>(input_length);
|
||||||
auto bytes_read = fread(input_buffer.get(), 1, input_length, f);
|
auto bytes_read = fread(input_buffer.get(), 1, input_length, f);
|
||||||
assert(bytes_read == input_length);
|
assert(bytes_read == static_cast<size_t>(input_length));
|
||||||
|
|
||||||
auto start = high_resolution_clock::now();
|
auto start = high_resolution_clock::now();
|
||||||
LLVMFuzzerTestOneInput(input_buffer.get(), input_length);
|
LLVMFuzzerTestOneInput(input_buffer.get(), input_length);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue