diff --git a/TitanEngine/Global.Engine.Hider.cpp b/TitanEngine/Global.Engine.Hider.cpp index 1219afe..a08c63e 100644 --- a/TitanEngine/Global.Engine.Hider.cpp +++ b/TitanEngine/Global.Engine.Hider.cpp @@ -14,7 +14,7 @@ static bool isAtleastVista() return isAtleastVista; RTL_OSVERSIONINFOW versionInfo = {0}; versionInfo.dwOSVersionInfoSize = sizeof(RTL_OSVERSIONINFOW); - typedef NTSTATUS (WINAPI* tRtlGetVersion)(PRTL_OSVERSIONINFOW); + typedef NTSTATUS(WINAPI * tRtlGetVersion)(PRTL_OSVERSIONINFOW); tRtlGetVersion pRtlGetVersion = (tRtlGetVersion)GetProcAddress(GetModuleHandleW(L"ntdll.dll"), "RtlGetVersion"); if(!pRtlGetVersion || !NT_SUCCESS(pRtlGetVersion(&versionInfo))) { diff --git a/TitanEngine/TitanEngine.Debugger.cpp b/TitanEngine/TitanEngine.Debugger.cpp index add5ecd..be18b2f 100644 --- a/TitanEngine/TitanEngine.Debugger.cpp +++ b/TitanEngine/TitanEngine.Debugger.cpp @@ -502,9 +502,9 @@ __declspec(dllexport) void* TITCALL InitNativeDebugW(wchar_t* szFileName, wchar_ NumAttributes = 3; AttributesSize = sizeof(SIZE_T) + NumAttributes * sizeof(PS_ATTRIBUTE); AttributeList = reinterpret_cast( - RtlAllocateHeap(RtlProcessHeap(), - HEAP_ZERO_MEMORY, // Not optional - AttributesSize)); + RtlAllocateHeap(RtlProcessHeap(), + HEAP_ZERO_MEMORY, // Not optional + AttributesSize)); AttributeList->TotalLength = AttributesSize; // In: NT style absolute image path. This is the only required attribute diff --git a/TitanEngine/TitanEngine.Static.cpp b/TitanEngine/TitanEngine.Static.cpp index 65775ef..27b00bc 100644 --- a/TitanEngine/TitanEngine.Static.cpp +++ b/TitanEngine/TitanEngine.Static.cpp @@ -90,7 +90,7 @@ __declspec(dllexport) bool TITCALL StaticFileUnloadW(wchar_t* szFileName, bool C if(FileHandle != NULL && FileMap != NULL) { // HACK: compatibility with x64dbg - if(FileHandle != (HANDLE)-1) + if(FileHandle != (HANDLE) - 1) { UnMapFileEx(FileHandle, LoadedSize, FileMap, FileMapVA); } diff --git a/scylla_wrapper/SystemInformation.cpp b/scylla_wrapper/SystemInformation.cpp index 3c652d2..bee713c 100644 --- a/scylla_wrapper/SystemInformation.cpp +++ b/scylla_wrapper/SystemInformation.cpp @@ -9,7 +9,7 @@ bool SystemInformation::getSystemInformation() osvi.dwOSVersionInfoSize = sizeof(RTL_OSVERSIONINFOW); SYSTEM_INFO si = {0}; def_GetNativeSystemInfo _GetNativeSystemInfo = 0; - typedef LONG (WINAPI* tRtlGetVersion)(PRTL_OSVERSIONINFOW); + typedef LONG(WINAPI * tRtlGetVersion)(PRTL_OSVERSIONINFOW); tRtlGetVersion pRtlGetVersion = (tRtlGetVersion)GetProcAddress(GetModuleHandleW(L"ntdll.dll"), "RtlGetVersion"); if(!pRtlGetVersion) return false;