1
0

Fixed xofts issues

This commit is contained in:
Tycho 2014-03-14 06:11:49 -07:00
parent 692cf5bb70
commit cd6ab5617c
10 changed files with 24 additions and 23 deletions

View File

@ -767,7 +767,7 @@ bool cByteBuffer::ReadUTF16String(AString & a_String, int a_NumChars)
{ {
return false; return false;
} }
RawBEToUTF8((RawData.data()), a_NumChars, a_String); RawBEToUTF8(RawData.data(), a_NumChars, a_String);
return true; return true;
} }

View File

@ -114,7 +114,8 @@ template <typename T, size_t Size, bool x = sizeof(T) == Size>
class SizeChecker; class SizeChecker;
template <typename T, size_t Size> template <typename T, size_t Size>
class SizeChecker<T, Size, true> { class SizeChecker<T, Size, true>
{
T v; T v;
}; };

View File

@ -118,7 +118,7 @@ void cLog::Log(const char * a_Format, va_list argList)
AString Line; AString Line;
#ifdef _DEBUG #ifdef _DEBUG
Printf(Line, "[" SIZE_T_FMT_PRECISION(04) "|%02d:%02d:%02d] %s", cIsThread::GetCurrentID(), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str()); Printf(Line, "[%04lx|%02d:%02d:%02d] %s", cIsThread::GetCurrentID(), timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str());
#else #else
Printf(Line, "[%02d:%02d:%02d] %s", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str()); Printf(Line, "[%02d:%02d:%02d] %s", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str());
#endif #endif