From 23059009390ca960c0c72abf5a0b83222d4fff7d Mon Sep 17 00:00:00 2001 From: Sour Date: Sun, 17 Feb 2019 21:08:43 -0500 Subject: [PATCH] Fixed compilation error in debug build --- Core/SPC_DSP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/SPC_DSP.cpp b/Core/SPC_DSP.cpp index 53fc596..456b306 100644 --- a/Core/SPC_DSP.cpp +++ b/Core/SPC_DSP.cpp @@ -156,7 +156,7 @@ inline void SPC_DSP::init_counter() // counters start out with this synchronization m.counters [0] = 1; m.counters [1] = 0; - m.counters [2] = -0x20u; + m.counters [2] = (unsigned int)-0x20; m.counters [3] = 0x0B; int n = 2;