diff options
author | Damiano Galassi <[email protected]> | 2019-01-23 11:55:09 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-01-23 11:55:09 +0100 |
commit | 2986505bb64c86631f20de90487ee535e20cd9ae (patch) | |
tree | f7bbc75430f0f0ce85c9748c52929c9e48bb2e5f | |
parent | 27080c705403de6eaf7c436e5a5711384a9d81ae (diff) |
Fix an annoying warning in Xcode.
-rw-r--r-- | libhb/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/common.h b/libhb/common.h index 1cdee684e..550c021cd 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -55,10 +55,10 @@ #endif #ifndef MIN -#define MIN( a, b ) ( (a) > (b) ? (b) : (a) ) +#define MIN(a,b) (((a)<(b))?(a):(b)) #endif #ifndef MAX -#define MAX( a, b ) ( (a) > (b) ? (a) : (b) ) +#define MAX(a,b) (((a)>(b))?(a):(b)) #endif #ifndef ABS #define ABS(a) ((a) > 0 ? (a) : (-(a))) |