{\r
// Range check the count.\r
\r
- nCount = max(0, min(nCount, static_cast<int>(this->size())));\r
+ nCount = std::max(0, std::min(nCount, static_cast<int>(this->size())));\r
return this->substr(0, static_cast<MYSIZE>(nCount)); \r
}\r
\r
{\r
// Range check the count.\r
\r
- nCount = max(0, min(nCount, static_cast<int>(this->size())));\r
+ nCount = std::max(0, std::min(nCount, static_cast<int>(this->size())));\r
return this->substr(this->size()-static_cast<MYSIZE>(nCount));\r
}\r
\r
static void WriteLogHeader()
{
LOG->Info( ProductInfo::getFullVersionString());
- LOG->Info( "Compiled %s (build %lu)", ProductInfo::getDate(), ProductInfo::getVersion() );
+ LOG->Info( "Compiled %s (build %s)", ProductInfo::getDate().c_str(), ProductInfo::getVersion().c_str() );
time_t cur_time;
time(&cur_time);