2a0bb79513
Fixes [https://github.com/WerWolv/ImHex/security/code-scanning/223](https://github.com/WerWolv/ImHex/security/code-scanning/223) To fix the problem, we need to ensure that the multiplication is performed using a larger integer type to avoid overflow. This can be achieved by casting one of the operands to `u64` before performing the multiplication. This way, the multiplication will be done in the larger type, preventing overflow. We will modify the line `index += frameCount * device->playback.channels;` to cast `frameCount` to `u64` before the multiplication. _Suggested fixes powered by Copilot Autofix. Review carefully before merging._ Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>