Fixed Visual C compile error.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5269 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
andrei 2012-09-19 10:25:40 +00:00
parent ec380ed341
commit 9a6586e49b
1 changed files with 2 additions and 1 deletions

View File

@ -761,7 +761,8 @@ void CustomTimer::extractUsec(const String& param)
void CustomTimer::getTime(String& ret, u_int64_t time)
{
char buf[length() + 100];
DataBlock data(0,length() + 100);
char* buf = (char*)data.data();
time_t rawtime = time / 1000000;
String tmp = c_str();
if (m_usecIndex >= 0) {