mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Use __builtin_ffsll() from gcc instead of ffssll() to fix a FreeBSD build error.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@232017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user