[Freeswitch-trunk] [commit] r12842 - freeswitch/trunk/src
FreeSWITCH SVN
mrene at freeswitch.org
Mon Mar 30 10:48:25 PDT 2009
Author: mrene
Date: Mon Mar 30 12:48:25 2009
New Revision: 12842
Log:
Fix Solaris build
Modified:
freeswitch/trunk/src/switch_xml_config.c
Modified: freeswitch/trunk/src/switch_xml_config.c
==============================================================================
--- freeswitch/trunk/src/switch_xml_config.c (original)
+++ freeswitch/trunk/src/switch_xml_config.c Mon Mar 30 12:48:25 2009
@@ -336,7 +336,7 @@
case SWITCH_CONFIG_FLAGARRAY:
{
int8_t *dest = (int8_t*)item->ptr;
- int8_t index = (int8_t)(intptr_t)item->data;
+ unsigned int index = (unsigned int)(intptr_t)item->data;
int8_t newval = value ? !!switch_true(value) : (int8_t)((intptr_t)item->defaultvalue);
if (dest[index] != newval) {
changed = SWITCH_TRUE;
More information about the Freeswitch-trunk
mailing list