diff mbox

dmraid/lib internal.h

Message ID 20091217142335.23474.qmail@sourceware.org (mailing list archive)
State New, archived
Headers show

Commit Message

heinzm@sourceware.org Dec. 17, 2009, 2:23 p.m. UTC
None
diff mbox

Patch

--- dmraid/lib/internal.h	2009/09/16 11:45:12	1.4
+++ dmraid/lib/internal.h	2009/12/17 14:23:35	1.5
@@ -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))