mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	remove unnecessary casts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -45,12 +45,12 @@ static void *ast_hashtab_lookup_internal(struct ast_hashtab *tab, const void *ob
 | 
			
		||||
 | 
			
		||||
int ast_hashtab_compare_strings(const void *a, const void *b)
 | 
			
		||||
{
 | 
			
		||||
	return strcmp((char*)a,(char*)b);
 | 
			
		||||
	return strcmp(a, b);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int ast_hashtab_compare_strings_nocase(const void *a, const void *b)
 | 
			
		||||
{
 | 
			
		||||
	return strcasecmp((const char*)a,(const char*)b);
 | 
			
		||||
	return strcasecmp(a, b);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int ast_hashtab_compare_ints(const void *a, const void *b)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user