Update submodules and use appropriate cast

This commit is contained in:
momo5502 2016-02-16 22:03:55 +01:00
parent 55b8d2c5de
commit 6c12b2903a
2 changed files with 2 additions and 2 deletions

2
deps/protobuf vendored

@ -1 +1 @@
Subproject commit e35e24800fb8d694bdeea5fd63dc7d1b14d68723
Subproject commit ee819ea724026396ea33ba4e5d70c020b022731c

View File

@ -7,7 +7,7 @@ namespace Components
bool Logger::IsConsoleReady()
{
return (IsWindow(*(HWND*)0x64A3288) != FALSE || (Dedicated::IsDedicated() && !Flags::HasFlag("console")));
return (IsWindow(*reinterpret_cast<HWND*>(0x64A3288)) != FALSE || (Dedicated::IsDedicated() && !Flags::HasFlag("console")));
}
void Logger::Print(const char* message, ...)