Resolve or silence some warnings (#1905)

* Resolve some warnings

- Their frequent appearance in the build logs is driving me nuts

* Silence warnings about `offsetof`

* Don't apply `-Wno-invalid-offset` to C, only to C++
This commit is contained in:
Jesse Talavera
2023-12-28 08:54:31 -05:00
committed by GitHub
parent 6d0de509c4
commit a4b2b0c40d
6 changed files with 40 additions and 29 deletions

View File

@ -621,6 +621,8 @@ s32 SPUChannel::Run()
(PrevSample[0] * InterpCubic[samplepos][2]) +
(val * InterpCubic[samplepos][3])) >> 14;
break;
default:
break;
}
}