aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzer/fuzzers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuzzer/fuzzers.h')
-rw-r--r--src/fuzzer/fuzzers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzer/fuzzers.h b/src/fuzzer/fuzzers.h
index 8248a4f58..ee78f7a6d 100644
--- a/src/fuzzer/fuzzers.h
+++ b/src/fuzzer/fuzzers.h
@@ -88,7 +88,7 @@ int fuzz_files(char* files[])
{
std::vector<uint8_t> buf(max_fuzzer_input_size);
in.read((char*)buf.data(), buf.size());
- const size_t got = std::cin.gcount();
+ const size_t got = in.gcount();
buf.resize(got);
buf.shrink_to_fit();