projects
/
platform
/
core
/
uifw
/
libscl-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27df3d9
)
Fixed defect detected by static analysis tool
22/110022/1
author
Ji-hoon Lee
<dalton.lee@samsung.com>
Thu, 12 Jan 2017 10:41:03 +0000
(19:41 +0900)
committer
Ji-hoon Lee
<dalton.lee@samsung.com>
Thu, 12 Jan 2017 11:47:07 +0000
(20:47 +0900)
Change-Id: Ifbd54c73cc95f7883b99727bd073033de7040130
xmlresource/layout_parser.cpp
patch
|
blob
|
history
diff --git
a/xmlresource/layout_parser.cpp
b/xmlresource/layout_parser.cpp
index
cc27e1a
..
b170b39
100644
(file)
--- 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);
}
}