diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-01 23:56:14 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-01 23:56:14 +0000 |
commit | 0ff9b6558ace76c326abf6168416dad43e85431c (patch) | |
tree | 08707a6302c4b2535d2ae04f2b28c80b8ace41b7 /main | |
parent | 86e3a68b8ed4af0fcd06d61e6f8030bebee846dd (diff) |
Use __builtin_ffsll() from gcc instead of ffssll() to fix a FreeBSD build error.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@232017 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-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 fbe6e5852..abbdadaca 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 = ffsll(d); + int x = __builtin_ffsll(d); if (x) return x - 1; |