I like casts

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12455 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-03-05 06:00:36 +00:00
parent c8fc7dd8f8
commit c4a27eadd8
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse(switch_xml_t xml, int re
{
int32_t *dest = (int32_t*)item->ptr;
int index = (int)(intptr_t)item->data;
int8_t currentval = !!(*dest & index);
int8_t currentval = (int8_t)!!(*dest & index);
int8_t newval = 0;
if (value) {