I like casts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12455 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c8fc7dd8f8
commit
c4a27eadd8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue