diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2008-09-22 13:15:32 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2008-09-22 13:15:32 +0000 |
| commit | 015e3e6094e1b01ee8281da3c50c5853e0d9fe63 (patch) | |
| tree | c24a2fe86dbaa37ad52a0ea641ef4a44ae3eec9c /lib/base/estring.cpp | |
| parent | a848baced9e4cd8b5c1e76cafbf93ea032171f9c (diff) | |
| download | enigma2-015e3e6094e1b01ee8281da3c50c5853e0d9fe63.tar.gz enigma2-015e3e6094e1b01ee8281da3c50c5853e0d9fe63.zip | |
snprintf is not std::
Diffstat (limited to 'lib/base/estring.cpp')
| -rw-r--r-- | lib/base/estring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base/estring.cpp b/lib/base/estring.cpp index ce36a002..5d15ddce 100644 --- 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) - std::snprintf(buf, 12, "%i", val); + snprintf(buf, 12, "%i", val); else if (sys == 16) - std::snprintf(buf, 12, "%X", val); + snprintf(buf, 12, "%X", val); std::string res; res.assign(buf); |
