From 2f649fb261c20fad8b6ff48f8ebc1f9bd4f97b86 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Tue, 9 Nov 2010 14:42:03 +0200 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?utf8?q?=D0=B0=20=D1=81=D0=BF=D0=B5=D1=86=D0=B8=D0=B0=D0=BB=D0=B8=D0=B7?= =?utf8?q?=D0=B0=D1=86=D0=B8=D1=8F=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8?= =?utf8?q?=D0=B9=20x2str=20=D0=B4=D0=BB=D1=8F=20=D1=82=D0=B8=D0=BF=D0=B0?= =?utf8?q?=20unigned=20long=20(=D0=B0=D0=BA=D1=82=D1=83=D0=B0=D0=BB=D1=8C?= =?utf8?q?=D0=BD=D0=BE=20=20=20=20=20=20=20=20=20=D0=B4=D0=BB=D1=8F=2064-?= =?utf8?q?=D0=B1=D0=B8=D1=82=D0=BD=D1=8B=D1=85=20=D1=81=D0=B8=D1=81=D1=82?= =?utf8?q?=D0=B5=D0=BC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- stglibs/common.lib/common.cpp | 5 +++++ stglibs/common.lib/common.h | 1 + 2 files changed, 6 insertions(+) diff --git a/stglibs/common.lib/common.cpp b/stglibs/common.lib/common.cpp index eb39da6a..915772bb 100644 --- a/stglibs/common.lib/common.cpp +++ b/stglibs/common.lib/common.cpp @@ -779,6 +779,11 @@ const std::string & x2str(unsigned x, std::string & s) return unsigned2str(x, s); } //--------------------------------------------------------------------------- +const std::string & x2str(unsigned long x, std::string & s) +{ +return unsigned2str(x, s); +} +//--------------------------------------------------------------------------- const std::string & x2str(unsigned long long x, std::string & s) { return unsigned2str(x, s); diff --git a/stglibs/common.lib/common.h b/stglibs/common.lib/common.h index 904c6e47..cd7ab84f 100644 --- a/stglibs/common.lib/common.h +++ b/stglibs/common.lib/common.h @@ -221,6 +221,7 @@ int str2x(const std::string & str, long long & x); int str2x(const std::string & str, unsigned long long & x); //----------------------------------------------------------------------------- const std::string & x2str(unsigned x, std::string & s); +const std::string & x2str(unsigned long x, std::string & s); const std::string & x2str(unsigned long long x, std::string & s); //----------------------------------------------------------------------------- char * stg_strptime(const char *, const char *, struct tm *); -- 2.43.2