Message ID | 20091217054526.545361172@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- dmraid-16.orig/lib/internal.h +++ dmraid-16/lib/internal.h @@ -50,8 +50,8 @@ #define u_int64_t uint64_t #endif -#define min(a, b) (a) < (b) ? (a) : (b) -#define max(a, b) (a) > (b) ? (a) : (b) +#define min(a, b) ((a) < (b) ? (a) : (b)) +#define max(a, b) ((a) > (b) ? (a) : (b)) #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*a)) #define ARRAY_END(a) (a + ARRAY_SIZE(a))