From 28b18573be859f51217e3fb5bca5194de921e620 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Tue, 12 Mar 2002 16:18:11 +0000 Subject: [PATCH] fix bug found by gcc3 --- src/libFLAC/bitmath.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libFLAC/bitmath.c b/src/libFLAC/bitmath.c index 1deed61..4543ccb 100644 --- a/src/libFLAC/bitmath.c +++ b/src/libFLAC/bitmath.c @@ -93,7 +93,8 @@ unsigned FLAC__bitmath_silog2(int v) return 2; } else { - v = -(++v); + v++; + v = -v; } } } -- 2.7.4