Increased SERV.RTICKS value type (unsigned long -> unsigned long long)
@@ -1589,7 +1589,7 @@ bool CResource::r_WriteVal( LPCTSTR pszKey, CGString & sVal, CTextConsole * pSrc
case RC_RTICKS:
{
if ( pszKey[6] != '.' )
- sVal.FormatUVal(static_cast<unsigned long>(CGTime::GetCurrentTime().GetTime()));
+ sVal.FormatULLVal(static_cast<UINT64>(CGTime::GetCurrentTime().GetTime()));
else
{
pszKey += 6;
@@ -1609,7 +1609,7 @@ bool CResource::r_WriteVal( LPCTSTR pszKey, CGString & sVal, CTextConsole * pSrc
if ( datetime.GetTime() == -1 )
sVal.FormatVal(-1);
else
- sVal.FormatUVal(static_cast<unsigned long>(datetime.GetTime()));
+ sVal.FormatULLVal(static_cast<UINT64>(datetime.GetTime()));
}
else if ( !strnicmp("FORMAT", pszKey, 6) )
{
@@ -1623,7 +1623,6 @@ bool CResource::r_WriteVal( LPCTSTR pszKey, CGString & sVal, CTextConsole * pSrc
return false;
time_t lTime = Exp_GetVal(ppVal[0]);
-
CGTime datetime(lTime);
sVal = datetime.Format(iQty > 1 ? ppVal[1] : NULL);
}
