[Freeswitch-trunk] [commit] r12679 - freeswitch/trunk/src
FreeSWITCH SVN
mrene at freeswitch.org
Thu Mar 19 20:41:49 PDT 2009
Author: mrene
Date: Thu Mar 19 22:41:49 2009
New Revision: 12679
Log:
tweak
Modified:
freeswitch/trunk/src/switch_core_port_allocator.c
Modified: freeswitch/trunk/src/switch_core_port_allocator.c
==============================================================================
--- freeswitch/trunk/src/switch_core_port_allocator.c (original)
+++ freeswitch/trunk/src/switch_core_port_allocator.c Thu Mar 19 22:41:49 2009
@@ -118,7 +118,7 @@
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;
More information about the Freeswitch-trunk
mailing list