From 3a8c58d1924185e6bd79410c89bff78f8e86258a Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 31 Aug 2022 07:13:02 +0300 Subject: [PATCH] engine: platform: sdl: fix parentheses around IsAudioError macro --- engine/platform/sdl/s_sdl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/platform/sdl/s_sdl.c b/engine/platform/sdl/s_sdl.c index 555441bd..4f212485 100644 --- a/engine/platform/sdl/s_sdl.c +++ b/engine/platform/sdl/s_sdl.c @@ -34,9 +34,9 @@ GNU General Public License for more details. #define SDL_PauseAudioDevice( a, b ) SDL_PauseAudio( ( b ) ) #define SDL_LockAudioDevice( x ) SDL_LockAudio() #define SDL_UnlockAudioDevice( x ) SDL_UnlockAudio() -#define SDLash_IsAudioError( x ) ( x ) != 0 +#define SDLash_IsAudioError( x ) (( x ) != 0) #else -#define SDLash_IsAudioError( x ) ( x ) == 0 +#define SDLash_IsAudioError( x ) (( x ) == 0) #endif /*