From ba12a8753b0372fac157f91fd1ca0d9cb704b754 Mon Sep 17 00:00:00 2001 From: Mathis Rosenhauer Date: Tue, 11 Dec 2012 10:05:39 +0100 Subject: [PATCH] fixed C&P omission --- configure.ac | 8 ++++---- src/decode.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index caab303..4004833 100644 --- a/configure.ac +++ b/configure.ac @@ -30,12 +30,12 @@ AC_TYPE_UINT8_T # Checks for library functions. AC_CHECK_FUNCS([memset strstr]) -AC_MSG_CHECKING(for __builtin_clzl) +AC_MSG_CHECKING(for __builtin_clzll) AC_TRY_LINK([],[ - __builtin_clzl(1); + __builtin_clzll(1); ],[ - AC_DEFINE(AEC_HAVE___BUILTIN_CLZL, 1, \ - [Define to 1 if you have the '__builtin__clzl' function.]) + AC_DEFINE(AEC_HAVE___BUILTIN_CLZLL, 1, \ + [Define to 1 if you have the '__builtin__clzll' function.]) AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no) diff --git a/src/decode.c b/src/decode.c index 6787783..cec2dc5 100644 --- a/src/decode.c +++ b/src/decode.c @@ -277,7 +277,7 @@ static inline uint32_t direct_get_fs(struct aec_stream *strm) if (state->acc == 0) fill_acc(strm); -#ifdef AEC_HAVE___BUILTIN_CLZL +#ifdef AEC_HAVE___BUILTIN_CLZLL fs = __builtin_clzll(state->acc) - (64 - state->bitp); state->bitp -= fs + 1; #else -- 2.7.4