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:11:34 +0000 (01:11 +0300)
commit0a42e81c36ab5ad2008ece5d9c288291e2f8c6fc
tree5a03b033f7d60bc850a002dfc27892e3d662d95d
parentba8d6a2dbb802b215c1657c5b456cb8c65a18520
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