Add more C style casts fixes and suppressions

This commit is contained in:
Konstantinos Margaritis
2024-05-18 21:48:40 +03:00
parent 8b93f44856
commit b07f527f2e
13 changed files with 78 additions and 51 deletions

View File

@@ -52,7 +52,7 @@ static
int vectorCallback(unsigned id, unsigned long long from,
unsigned long long to, unsigned, void *ctx) {
//printf("match id %u at (%llu,%llu)\n", id, from, to);
vector<Match> *matches = (vector<Match> *)ctx;
vector<Match> *matches = reinterpret_cast<vector<Match> *>(ctx);
matches->push_back(Match(id, from, to));
return 0;
}