diff options
author | Shauren <shauren.trinity@gmail.com> | 2020-08-04 15:42:08 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2020-08-04 15:42:08 +0200 |
commit | b3db50a3b41b2db209327387f59afa1c40532773 (patch) | |
tree | 66be105dd675c640a5b11b77e8bba4ee287d2493 /src/common/Debugging/WheatyExceptionReport.cpp | |
parent | df8d50c06a6776312d5bd912dd6a5273a190a1e4 (diff) |
Core/Misc: Fix compile errors found with msvc /permissive-
Diffstat (limited to 'src/common/Debugging/WheatyExceptionReport.cpp')
-rw-r--r-- | src/common/Debugging/WheatyExceptionReport.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/Debugging/WheatyExceptionReport.cpp b/src/common/Debugging/WheatyExceptionReport.cpp index db2d050794f..c4de34bb38c 100644 --- a/src/common/Debugging/WheatyExceptionReport.cpp +++ b/src/common/Debugging/WheatyExceptionReport.cpp @@ -14,7 +14,7 @@ #pragma warning(disable:4311) #include <windows.h> #include <tlhelp32.h> -#include <stdio.h> +#include <cstdio> #include <tchar.h> #define _NO_CVCONST_H #include <dbghelp.h> @@ -610,7 +610,7 @@ PEXCEPTION_POINTERS pExceptionInfo) // Given an exception code, returns a pointer to a static string with a // description of the exception //====================================================================== -LPTSTR WheatyExceptionReport::GetExceptionString(DWORD dwCode) +LPCTSTR WheatyExceptionReport::GetExceptionString(DWORD dwCode) { #define EXCEPTION(x) case EXCEPTION_##x: return _T(#x); @@ -947,7 +947,7 @@ DWORD dwTypeIndex, DWORD_PTR offset, bool & bHandled, char const* Name, -char* /*suffix*/, +char const* /*suffix*/, bool newSymbol, bool logChildren) { |