snd_opl_nuked.c: Fixed the uint64_t comparison issue

UINT64_C macro added because of comparison issues in some cases.

Co-Authored-By: Vitaly Novichkov <6751442+wohlstand@users.noreply.github.com>
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
This commit is contained in:
Jasmine Iwanek
2024-07-10 07:05:29 -04:00
parent b5b5353d46
commit 5efc896a44

View File

@@ -1451,7 +1451,7 @@ nuked_generate_4ch(void *priv, int32_t *buf4)
}
if (dev->eg_timerrem || dev->eg_state) {
if (dev->eg_timer == 0xfffffffff) {
if (dev->eg_timer == UINT64_C(0xfffffffff)) {
dev->eg_timer = 0;
dev->eg_timerrem = 1;
} else {