From: Mathieu Rene Date: Fri, 20 Mar 2009 03:41:49 +0000 (+0000) Subject: tweak X-Git-Tag: v1.0.4~1465 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f89df210e5cd29283ece3d25b9997ced7a8c1ccf;p=thirdparty%2Ffreeswitch.git tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12679 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core_port_allocator.c b/src/switch_core_port_allocator.c index 3680011175..d3b0d06f52 100644 --- a/src/switch_core_port_allocator.c +++ b/src/switch_core_port_allocator.c @@ -118,7 +118,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_port_allocator_request_port(switch_c int odd = switch_test_flag(alloc, SPF_ODD); switch_mutex_lock(alloc->mutex); - srand((unsigned)(intptr_t)port_ptr + (uint32_t)switch_thread_self() + switch_micro_time_now()); + srand((unsigned)(intptr_t)port_ptr + (unsigned)(intptr_t)switch_thread_self() + switch_micro_time_now()); while (alloc->track_used < alloc->track_len) { uint32_t index;