From 7f5f22e1849bad0f5065c069a795ffeea0ad8004 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 7 Oct 2018 05:21:06 +0000 Subject: [PATCH] Fix issue in the C version of the classic renderer where someone had attempted to negate a bool git-svn-id: https://svn.eduke32.com/eduke32@7012 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/a-c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/a-c.cpp b/source/build/src/a-c.cpp index d3b1fe393..5d3094136 100644 --- a/source/build/src/a-c.cpp +++ b/source/build/src/a-c.cpp @@ -340,7 +340,7 @@ void vlineasm4(bssize_t cnt, char *p) #ifdef USE_SATURATE_VPLC static int32_t g_saturate; // -1 if saturating vplc is requested, 0 else -# define set_saturate(dosaturate) g_saturate = -!!dosaturate +# define set_saturate(dosaturate) g_saturate = -(int)!!dosaturate #else # define set_saturate(dosaturate) UNREFERENCED_PARAMETER(dosaturate) #endif