cstylecasts and suppressions

This commit is contained in:
gtsoul-tech
2024-05-22 10:16:56 +03:00
parent b312112e87
commit 94eff4aa60
5 changed files with 11 additions and 3 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: