summaryrefslogtreecommitdiff
path: root/src/dynamic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynamic.cpp')
-rw-r--r--src/dynamic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp
index f138b04d1..08564a0cd 100644
--- a/src/dynamic.cpp
+++ b/src/dynamic.cpp
@@ -96,7 +96,7 @@ void DLLManager::RetrieveLastError()
SetLastError(ERROR_SUCCESS);
err = errmsg;
#else
- char* errmsg = dlerror();
+ const char* errmsg = dlerror();
err = errmsg ? errmsg : "Unknown error";
#endif