mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Merged revisions 221971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r221971 | tilghman | 2009-10-02 11:59:57 -0500 (Fri, 02 Oct 2009) | 9 lines Merged revisions 221970 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r221970 | tilghman | 2009-10-02 11:58:03 -0500 (Fri, 02 Oct 2009) | 2 lines Ensure the result of the hash function is positive. Negative array offsets suck. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@221973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -153,7 +153,7 @@ static void *lock_broker(void *unused)
|
||||
|
||||
static int null_hash_cb(const void *obj, const int flags)
|
||||
{
|
||||
return abs((int)(long) obj);
|
||||
return (int)(long) obj;
|
||||
}
|
||||
|
||||
static int null_cmp_cb(void *obj, void *arg, int flags)
|
||||
|
||||
Reference in New Issue
Block a user