[Freeswitch-svn] [commit] r12450 - freeswitch/trunk/src

FreeSWITCH SVN mrene at freeswitch.org
Wed Mar 4 21:45:42 PST 2009


Author: mrene
Date: Wed Mar  4 23:45:42 2009
New Revision: 12450

Log:
tweak

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	Wed Mar  4 23:45:42 2009
@@ -181,7 +181,7 @@
 			case SWITCH_CONFIG_FLAGARRAY:
 				{
 					int8_t *dest = (int8_t*)item->ptr;
-					int8_t index = (int)(intptr_t)item->data;
+					int8_t index = (int8_t)(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-svn mailing list