Fixed xofts issues
This commit is contained in:
parent
692cf5bb70
commit
cd6ab5617c
@ -767,7 +767,7 @@ bool cByteBuffer::ReadUTF16String(AString & a_String, int a_NumChars)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
RawBEToUTF8((RawData.data()), a_NumChars, a_String);
|
||||
RawBEToUTF8(RawData.data(), a_NumChars, a_String);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -114,7 +114,8 @@ template <typename T, size_t Size, bool x = sizeof(T) == Size>
|
||||
class SizeChecker;
|
||||
|
||||
template <typename T, size_t Size>
|
||||
class SizeChecker<T, Size, true> {
|
||||
class SizeChecker<T, Size, true>
|
||||
{
|
||||
T v;
|
||||
};
|
||||
|
||||
|
@ -118,7 +118,7 @@ void cLog::Log(const char * a_Format, va_list argList)
|
||||
|
||||
AString Line;
|
||||
#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
|
||||
Printf(Line, "[%02d:%02d:%02d] %s", timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, Message.c_str());
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user