From: Florent Bruneau Date: Sun, 28 Sep 2008 10:10:56 +0000 (+0200) Subject: Minor fix. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=913c6a51acdb1e8a6acc88fbcceac8d0a09450b7;p=apps%2Fpfixtools.git Minor fix. Signed-off-by: Florent Bruneau --- diff --git a/common/array.h b/common/array.h index 63e66cf..fe3dded 100644 --- a/common/array.h +++ b/common/array.h @@ -163,7 +163,7 @@ #define array_len(array) (array).len #define array_size(array) (array).size #define array_elt_len(array) sizeof(*(array).data) -#define array_byte_len(array) (array).len * array_elt_len(array) +#define array_byte_len(array) ((array).len * array_elt_len(array)) #define array_lock(array) \ ((array).locked \