Browse code

another missing parentheses (bb#1769)

Tomasz Kojm authored on 2009/12/04 01:35:09
Showing 1 changed files
... ...
@@ -76,7 +76,7 @@ swapfunc(a, b, n, swaptype)
76 76
 
77 77
 #define vecswap(a, b, n) 	if ((n) > 0) swapfunc(a, b, n, swaptype)
78 78
 
79
-#define CMP1(a, b) ((int)(*((uint32_t *)a) - *((uint32_t *)b)))
79
+#define CMP1(a, b) ((int)(*((uint32_t *)(a)) - *((uint32_t *)(b))))
80 80
 #define CMP(a, b)   (cmp ? (cmp(a, b)) : CMP1(a, b))
81 81
 #define MED3(a, b, c, d)   (d ? (med3(a, b, c, d)) : (CMP1(a, b) < 0 ? (CMP1(b, c) < 0 ? (b) : (CMP1(a, c) < 0 ? (c) : (a))) : (CMP1(b, c) > 0 ? (b) : (CMP1(a, c) < 0 ? (a) : (c)))))
82 82