From 06309fc704dc11445bd9f11c0db7e24879508462 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 17 Feb 2015 00:21:48 +0100 Subject: [PATCH] avutil/attributes: Add () to protect the AV_GCC_VERSION_AT_LEAST() arguments Signed-off-by: Michael Niedermayer --- libavutil/attributes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/attributes.h b/libavutil/attributes.h index 7d3f4a91cf..ebcdd6b88c 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -27,7 +27,7 @@ #define AVUTIL_ATTRIBUTES_H #ifdef __GNUC__ -# define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y) +# define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y)) #else # define AV_GCC_VERSION_AT_LEAST(x,y) 0 #endif