[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Tomasz Kojm tkojm at clamav.net
Sun Apr 4 01:10:22 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit e1b21aeec401587e7d6f7e513b33efbfa5d60d7c
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Thu Dec 3 17:35:09 2009 +0100

    another missing parentheses (bb#1769)

diff --git a/libclamav/qsort.c b/libclamav/qsort.c
index 31cbfa7..c4032f7 100644
--- a/libclamav/qsort.c
+++ b/libclamav/qsort.c
@@ -76,7 +76,7 @@ swapfunc(a, b, n, swaptype)
 
 #define vecswap(a, b, n) 	if ((n) > 0) swapfunc(a, b, n, swaptype)
 
-#define CMP1(a, b) ((int)(*((uint32_t *)a) - *((uint32_t *)b)))
+#define CMP1(a, b) ((int)(*((uint32_t *)(a)) - *((uint32_t *)(b))))
 #define CMP(a, b)   (cmp ? (cmp(a, b)) : CMP1(a, b))
 #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)))))
 

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list