projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4868e56
)
fixed possible but unlikely overflow.
author
wsoltys
<wiso@no.way>
Thu, 12 Sep 2013 19:23:45 +0000
(21:23 +0200)
committer
wsoltys
<wiso@no.way>
Tue, 1 Oct 2013 18:33:39 +0000
(20:33 +0200)
xbmc/guilib/LocalizeStrings.cpp
patch
|
blob
|
history
diff --git
a/xbmc/guilib/LocalizeStrings.cpp
b/xbmc/guilib/LocalizeStrings.cpp
index
0acc669
..
d9f4b65
100644
(file)
--- a/
xbmc/guilib/LocalizeStrings.cpp
+++ b/
xbmc/guilib/LocalizeStrings.cpp
@@
-175,7
+175,7
@@
bool CLocalizeStrings::LoadXML(const CStdString &filename, CStdString &encoding,
const char* attrId=pChild->Attribute("id");
if (attrId && !pChild->NoChildren())
{
-
in
t id = atoi(attrId) + offset;
+
uint32_
t id = atoi(attrId) + offset;
if (m_strings.find(id) == m_strings.end())
m_strings[id].strTranslated = ToUTF8(encoding, pChild->FirstChild()->Value());
}