diff --git a/deps/g3dlite/source/debugAssert.cpp b/deps/g3dlite/source/debugAssert.cpp index cfccf9a0c..675cac55f 100644 --- a/deps/g3dlite/source/debugAssert.cpp +++ b/deps/g3dlite/source/debugAssert.cpp @@ -103,7 +103,7 @@ static void createErrorMessage( if (NULL != formatMsg) { realLastErr = formatMsg; } else { - realLastErr = _T("Last error code does not exist."); + realLastErr = LPTSTR(_T("Last error code does not exist.")); } if (lastErr != 0) {