diff options
author | Ruben ten Hove <git@rhtenhove.nl> | 2022-07-07 17:07:57 +0000 |
---|---|---|
committer | Ruben ten Hove <git@rhtenhove.nl> | 2022-07-07 17:07:57 +0000 |
commit | b883faa94260026bc5ba013f82913ba0dbc7321c (patch) | |
tree | 126e1d2c313855e7c9c4cecbc4c41e8a6330180d /instrumentation/SanitizerCoverageLTO.so.cc | |
parent | c90dd00fc977170048271ca8f4f614b8b625e67a (diff) | |
parent | b1e0d6e6403c6f7f4796af9603e2b528b9776865 (diff) | |
download | afl++-b883faa94260026bc5ba013f82913ba0dbc7321c.tar.gz |
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'instrumentation/SanitizerCoverageLTO.so.cc')
-rw-r--r-- | instrumentation/SanitizerCoverageLTO.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoverageLTO.so.cc b/instrumentation/SanitizerCoverageLTO.so.cc index 9a48ae6d..f976f48a 100644 --- a/instrumentation/SanitizerCoverageLTO.so.cc +++ b/instrumentation/SanitizerCoverageLTO.so.cc @@ -921,7 +921,7 @@ bool ModuleSanitizerCoverageLTO::instrumentModule( std::string outstring; fprintf(stderr, "%s: length %zu/%zu \"", FuncName.c_str(), optLen, thestring.length()); - for (uint8_t i = 0; i < thestring.length(); i++) { + for (uint16_t i = 0; i < (uint16_t)thestring.length(); i++) { uint8_t c = thestring[i]; if (c <= 32 || c >= 127) |