]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix trivial comiler warning for last commit
authorJeff Lenk <jeff@jefflenk.com>
Thu, 28 Apr 2011 19:39:24 +0000 (14:39 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Thu, 28 Apr 2011 19:39:24 +0000 (14:39 -0500)
src/switch_xml_config.c

index 5ade057b374bda007276b4d23d2283619300ea02..31f44ce1752359bc75c6dce941842c03d85ff2eb 100644 (file)
@@ -337,7 +337,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse_event(switch_event_t *ev
                                int32_t *dest = (int32_t *) ptr;
                                int index = (int) (intptr_t) item->data;
                                int8_t currentval = (int8_t) ! !(*dest & index);
-                               int8_t newval = 0;
+                               int newval = 0;
 
                                if (value) {
                                        newval = switch_true(value);