mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
Fix VS2015 Compile
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -376,7 +376,7 @@ class ByteBuffer
|
||||
lt.tm_mon = (packedDate >> 20) & 0xF;
|
||||
lt.tm_year = ((packedDate >> 24) & 0x1F) + 100;
|
||||
|
||||
return uint32(mktime(<) + timezone);
|
||||
return uint32(mktime(<) + _timezone);
|
||||
}
|
||||
|
||||
ByteBuffer& ReadPackedTime(uint32& time)
|
||||
|
||||
Reference in New Issue
Block a user