Part 5 of C-style cast cppcheck (#289)

Fixes some cstyleCasts part 5

closes some: #252
This commit is contained in:
Konstantinos Margaritis
2024-05-24 23:24:58 +03:00
committed by GitHub
4 changed files with 7 additions and 5 deletions

View File

@@ -53,9 +53,11 @@ void hwlmGenerateDumpFiles(const HWLM *h, const string &base) {
switch (h->type) {
case HWLM_ENGINE_NOOD:
// cppcheck-suppress cstyleCast
noodPrintStats(reinterpret_cast<const noodTable *>(HWLM_C_DATA(h)), f);
break;
case HWLM_ENGINE_FDR:
// cppcheck-suppress cstyleCast
fdrPrintStats(reinterpret_cast<const FDR *>(HWLM_C_DATA(h)), f);
break;
default: