[PATCH 1/2] Fix mistyped variable name

Robert Kausch robert.kausch at freac.org
Sat May 25 05:34:18 PDT 2013


---
 src/libFLAC/include/private/bitmath.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libFLAC/include/private/bitmath.h b/src/libFLAC/include/private/bitmath.h
index 42ce639..e5c7695 100644
--- a/src/libFLAC/include/private/bitmath.h
+++ b/src/libFLAC/include/private/bitmath.h
@@ -74,7 +74,7 @@ static inline unsigned int FLAC__clz_uint32(FLAC__uint32 v)
 {
 /* Never used with input 0 */
 #if defined(__INTEL_COMPILER)
-    return _bit_scan_reverse(n) ^ 31U;
+    return _bit_scan_reverse(v) ^ 31U;
 #elif defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
 /* This will translate either to (bsr ^ 31U), clz , ctlz, cntlz, lzcnt depending on
  * -march= setting or to a software rutine in exotic machines. */
-- 
1.7.10.4


--=_vA9B0g0mKp5QbmIrcmD4lw5
Content-Type: text/x-diff; charset=us-ascii;
 name=0002-bitwriter.c-Add-missing-extern-declaration.patch
Content-Disposition: attachment;
 filename=0002-bitwriter.c-Add-missing-extern-declaration.patch; size=1091



More information about the flac-dev mailing list