projects
/
vuplus_dvbapp
/ 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
ce36a00
..
5d15ddc
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)
- s
td::s
nprintf(buf, 12, "%i", val);
+ snprintf(buf, 12, "%i", val);
else if (sys == 16)
- s
td::snprintf(buf, 12, "%X", val);
+ s
nprintf(buf, 12, "%X", val);
std::string res;
res.assign(buf);