From 4611acc5b77c8fea79bed1f6077ccc29342f1204 Mon Sep 17 00:00:00 2001 From: vl Date: Tue, 21 Sep 2010 08:55:31 +0200 Subject: [PATCH] Added: define the toString() for size_t --- code/nel/include/nel/misc/string_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/include/nel/misc/string_common.h b/code/nel/include/nel/misc/string_common.h index f9d83910c..4eca5d13d 100644 --- a/code/nel/include/nel/misc/string_common.h +++ b/code/nel/include/nel/misc/string_common.h @@ -204,8 +204,8 @@ inline std::string toString(const long unsigned int &val) #if (SIZEOF_SIZE_T) == 8 inline std::string toString(const size_t &val) { return toString("%"NL_I64"u", val); } -//#else -//inline std::string toString(const size_t &val) { return toString("%u", val); } +#else +inline std::string toString(const size_t &val) { return toString("%u", val); } #endif inline std::string toString(const float &val) { return toString("%f", val); } inline std::string toString(const double &val) { return toString("%lf", val); }