[asterisk-commits] russell: trunk r105593 - /trunk/main/hashtab.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Mar 3 22:44:28 CST 2008
Author: russell
Date: Mon Mar 3 22:44:28 2008
New Revision: 105593
URL: http://svn.digium.com/view/asterisk?view=rev&rev=105593
Log:
remove unnecessary casts
Modified:
trunk/main/hashtab.c
Modified: trunk/main/hashtab.c
URL: http://svn.digium.com/view/asterisk/trunk/main/hashtab.c?view=diff&rev=105593&r1=105592&r2=105593
==============================================================================
--- trunk/main/hashtab.c (original)
+++ trunk/main/hashtab.c Mon Mar 3 22:44:28 2008
@@ -45,12 +45,12 @@
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)
More information about the asterisk-commits
mailing list