diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-12-04 21:06:22 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-12-04 21:06:22 +0000 |
commit | fc7c2d917e7b510f11b9cfe7e2cf90cf92881e02 (patch) | |
tree | c70ff0ab508674aa8ada365ee3b340cb96dcb7da | |
parent | 52570bfa84e6d1fb22b321d229549ead80ce5df0 (diff) |
Using the builtin function breaks OpenBSD 4.2
(closes issue #16395)
Reported by: jtodd
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@233239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/translate.c b/main/translate.c index abbdadaca..fbe6e5852 100644 --- a/main/translate.c +++ b/main/translate.c @@ -72,7 +72,7 @@ static struct translator_path tr_matrix[MAX_FORMAT][MAX_FORMAT]; /*! \brief returns the index of the lowest bit set */ static force_inline int powerof(format_t d) { - int x = __builtin_ffsll(d); + int x = ffsll(d); if (x) return x - 1; |