From 5efc896a440b573109dbcce53354ed7d3fd2e52e Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Wed, 10 Jul 2024 07:05:29 -0400 Subject: [PATCH] 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 --- src/sound/snd_opl_nuked.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/snd_opl_nuked.c b/src/sound/snd_opl_nuked.c index a64dc196b..c8dfe7609 100644 --- a/src/sound/snd_opl_nuked.c +++ b/src/sound/snd_opl_nuked.c @@ -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 {