summaryrefslogtreecommitdiff
path: root/src/dynamic.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-07-15 16:27:48 +0100
committerPeter Powell <petpow@saberuk.com>2018-07-15 16:42:36 +0100
commit124c17e14134a4999afc1a5e981ab7c75b3694b9 (patch)
tree5255fb4315975b3a31b932f76a7533ca4ae80b5c /src/dynamic.cpp
parentd0dac3a2751e5b5edadf3befa8259f9902b9450b (diff)
parenta37c11101acd5c8a4d32a5e3d8372baffc786836 (diff)
Merge branch 'insp20' into master.
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