diff options
-rw-r--r-- | lib/igt_aux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h index 415614b4..9b42918f 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -85,6 +85,6 @@ bool intel_check_memory(uint32_t count, uint32_t size, unsigned mode); #define min(a, b) ((a) < (b) ? (a) : (b)) -#define max(a, b) ((a) < (b) ? (a) : (b)) +#define max(a, b) ((a) > (b) ? (a) : (b)) #endif /* IGT_AUX_H */ |