patch [#30227] Various MSVC (32-bit) Warning and Typo Fixes
[blender-staging.git] / intern / audaspace / intern / AUD_JOSResampleReader.cpp
index 2fb8b86ce49ed7a07b35c08a1385f1a7ac9febc5..0f7a038c88e43e6ec9dd7ea3b9abc28460dd0c06 100644 (file)
@@ -200,7 +200,7 @@ void AUD_JOSResampleReader::updateBuffer(int size, double factor, int samplesize
                                left\
                        }\
 \
-                       P = -P;\
+                       P = 0 - P;\
 \
                        end = (int_to_fp(m_len) - P) / P_increment - 1;\
                        if(m_cache_valid - m_n - 2 < end)\