spu: avoid relying on signed overflow undefined behavior
authornotaz <notasas@gmail.com>
Tue, 26 Sep 2023 22:20:27 +0000 (01:20 +0300)
committernotaz <notasas@gmail.com>
Wed, 27 Sep 2023 22:42:12 +0000 (01:42 +0300)
commitadd8282cb348f90d36a5b18cfb56ca7fdca6dde8
tree00f7dbb1c6a3aada1ac97bc48f520c1c0482f2e0
parentccd1ad9280c13ec613b4e377a1c347f594d68761
spu: avoid relying on signed overflow undefined behavior

didn't seem to cause any issue in practice, but who knows with
all the different compilers
plugins/dfsound/adsr.c