git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a848bac
)
snprintf is not std::
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 22 Sep 2008 13:15:32 +0000
(13:15 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 22 Sep 2008 13:15:32 +0000
(13:15 +0000)
lib/base/estring.cpp
patch
|
blob
|
history
diff --git
a/lib/base/estring.cpp
b/lib/base/estring.cpp
index ce36a002934d2585bee90311c8e89c2d9435c7bc..5d15ddce01234b3e3a70d8cfeb90d42352e1ab28 100644
(file)
--- a/
lib/base/estring.cpp
+++ b/
lib/base/estring.cpp
@@
-27,9
+27,9
@@
std::string getNum(int val, int sys)
char buf[12];
if (sys == 10)
char buf[12];
if (sys == 10)
- s
td::s
nprintf(buf, 12, "%i", val);
+ snprintf(buf, 12, "%i", val);
else if (sys == 16)
else if (sys == 16)
- s
td::snprintf(buf, 12, "%X", val);
+ s
nprintf(buf, 12, "%X", val);
std::string res;
res.assign(buf);
std::string res;
res.assign(buf);