Fix VS2015 Compile

This commit is contained in:
mik1893
2016-06-29 07:21:50 +01:00
committed by Yehonal
parent 63b5613a7a
commit f978f833b0
10 changed files with 18 additions and 18 deletions

View File

@@ -33,7 +33,7 @@ class MySQL
static void Thread_Init()
{
mysql_thread_init();
sLog->outSQLDriver("Core thread with ID ["UI64FMTD"] initializing MySQL thread.",
sLog->outSQLDriver("Core thread with ID [" UI64FMTD "] initializing MySQL thread.",
(uint64)ACE_Based::Thread::currentId());
}
@@ -44,7 +44,7 @@ class MySQL
static void Thread_End()
{
mysql_thread_end();
sLog->outSQLDriver("Core thread with ID ["UI64FMTD"] shutting down MySQL thread.",
sLog->outSQLDriver("Core thread with ID [" UI64FMTD "] shutting down MySQL thread.",
(uint64)ACE_Based::Thread::currentId());
}

View File

@@ -376,7 +376,7 @@ class ByteBuffer
lt.tm_mon = (packedDate >> 20) & 0xF;
lt.tm_year = ((packedDate >> 24) & 0x1F) + 100;
return uint32(mktime(&lt) + timezone);
return uint32(mktime(&lt) + _timezone);
}
ByteBuffer& ReadPackedTime(uint32& time)