From 88f87ebaa38986be1f6355efe471a27d4ef9c6f5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 18 Jun 2012 18:39:17 +0200 Subject: [PATCH] qsort: add some forgotten () Signed-off-by: Michael Niedermayer --- libavutil/qsort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/qsort.h b/libavutil/qsort.h index ca66c5fb62..0b352cf164 100644 --- a/libavutil/qsort.h +++ b/libavutil/qsort.h @@ -25,7 +25,7 @@ void *stack[64][2];\ int sp= 1;\ stack[0][0] = p;\ - stack[0][1] = p+num-1;\ + stack[0][1] = (p)+(num)-1;\ while(sp){\ type *start= stack[--sp][0];\ type *end = stack[ sp][1];\