From 3b67610690940d2caf92ffc99bfe65cde68efa08 Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Thu, 12 Jan 2017 19:41:03 +0900 Subject: [PATCH] Fixed defect detected by static analysis tool Change-Id: Ifbd54c73cc95f7883b99727bd073033de7040130 --- xmlresource/layout_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlresource/layout_parser.cpp b/xmlresource/layout_parser.cpp index cc27e1a..b170b39 100644 --- a/xmlresource/layout_parser.cpp +++ b/xmlresource/layout_parser.cpp @@ -1306,7 +1306,7 @@ LayoutParserImpl::parsing_auto_popup_keys_record_node( cur_rec->autopopup_key_values[shift_loop][autopopup_state] = (sclchar*)key; add_key_string(key); } else if (0 == xmlStrcmp(child_node->name, (const xmlChar*)"event")) { - cur_rec->autopopup_key_events[shift_loop][autopopup_state] = atoi((sclchar*)key); + cur_rec->autopopup_key_events[shift_loop][autopopup_state] = (sclulong)atoi((sclchar*)key); add_key_string(key); } } -- 2.7.4