From 58d199db480358aa88a427245f4f4716447fa3f3 Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 4 Aug 2020 15:42:08 +0200 Subject: Core/Misc: Fix compile errors found with msvc /permissive- (cherry picked from commit b3db50a3b41b2db209327387f59afa1c40532773) --- dep/g3dlite/source/debugAssert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep/g3dlite/source/debugAssert.cpp') diff --git a/dep/g3dlite/source/debugAssert.cpp b/dep/g3dlite/source/debugAssert.cpp index cfccf9a0cc5..3c3e43a0af9 100644 --- a/dep/g3dlite/source/debugAssert.cpp +++ b/dep/g3dlite/source/debugAssert.cpp @@ -99,7 +99,7 @@ static void createErrorMessage( } // Make sure the message got translated into something. - LPTSTR realLastErr; + LPCTSTR realLastErr; if (NULL != formatMsg) { realLastErr = formatMsg; } else { -- cgit v1.2.3