From 015e3e6094e1b01ee8281da3c50c5853e0d9fe63 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 22 Sep 2008 13:15:32 +0000 Subject: [PATCH] snprintf is not std:: --- lib/base/estring.cpp | 4 ++-- 1 file 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); -- 2.30.2