diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-16 16:54:01 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-16 16:54:01 +0200 |
| commit | 9b4d367621a087635c9b3585ba1a8018859161f4 (patch) | |
| tree | d9aafeb088a10e8e7b1965a76017c4c081172ca5 | |
| parent | c209ad222c4aae82ed6f1182af9cfd81ac8fefd4 (diff) | |
| parent | 3c42496fb023a312b612e0ebd16b215a966dbb6c (diff) | |
| download | redot-engine-9b4d367621a087635c9b3585ba1a8018859161f4.tar.gz | |
Merge pull request #78327 from bitsawer/fix_clang_string
Fix Clang `dev_mode` build const string conversion
| -rw-r--r-- | platform/windows/gl_manager_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/gl_manager_windows.cpp b/platform/windows/gl_manager_windows.cpp index ad7c637a37..0334bdd973 100644 --- a/platform/windows/gl_manager_windows.cpp +++ b/platform/windows/gl_manager_windows.cpp @@ -86,7 +86,7 @@ typedef int(__cdecl *NvAPI_DRS_SetSetting_t)(NvDRSSessionHandle, NvDRSProfileHan typedef int(__cdecl *NvAPI_DRS_FindProfileByName_t)(NvDRSSessionHandle, NvAPI_UnicodeString, NvDRSProfileHandle *); NvAPI_GetErrorMessage_t NvAPI_GetErrorMessage__; -static bool nvapi_err_check(char *msg, int status) { +static bool nvapi_err_check(const char *msg, int status) { if (status != 0) { if (OS::get_singleton()->is_stdout_verbose()) { NvAPI_ShortString err_desc = { 0 }; |
