[*] Warnings

This commit is contained in:
Reece Wilson 2021-09-29 09:03:08 +01:00
parent 66c26b9bd2
commit 6632bf6d4e
3 changed files with 7 additions and 2 deletions

View File

@ -38,6 +38,12 @@ namespace Aurora::Compression
struct DecompressInfo struct DecompressInfo
{ {
ECompresionType alg {ECompresionType::eDeflate}; ECompresionType alg {ECompresionType::eDeflate};
DecompressInfo(ECompresionType alg) : alg(alg)
{
}
AuUInt32 internalStreamSize {}; AuUInt32 internalStreamSize {};
bool permitResize {}; bool permitResize {};
}; };

View File

@ -30,7 +30,6 @@ namespace Aurora::Debug
char buffer[sizeof(SYMBOL_INFO) + (MAX_SYM_NAME + 1) * sizeof(char)] = { 0 }; char buffer[sizeof(SYMBOL_INFO) + (MAX_SYM_NAME + 1) * sizeof(char)] = { 0 };
AuString backTraceBuffer; AuString backTraceBuffer;
HMODULE hModule; HMODULE hModule;
DWORD disp;
DWORD64 displacement = 0; DWORD64 displacement = 0;
HANDLE process = GetCurrentProcess(); HANDLE process = GetCurrentProcess();
STACKFRAME64 stack = { 0 }; STACKFRAME64 stack = { 0 };

View File

@ -97,7 +97,7 @@ namespace Aurora::Locale::Encoding
reinterpret_cast<char *>(out) + outLen, reinterpret_cast<char *>(out) + outLen,
toNext); toNext);
return {(fromNext - reinterpret_cast<const charin_t *>(in)) * sizeof(charin_t), toNext - out}; return {(fromNext - reinterpret_cast<const charin_t *>(in)) * sizeof(charin_t), toNext - (char *)out};
#endif #endif
} }