diff options
author | Peter Powell <petpow@saberuk.com> | 2018-06-08 08:44:39 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-06-08 08:44:39 +0100 |
commit | 3cd61d86de6a18a79fdd21952a67b7d1a7f9c517 (patch) | |
tree | 718987883ed52a72fc4ea16ec95f6fabc89ab8c3 /src | |
parent | dd3b11b3aa4eb6cb0b6aff4b245a9b075759737d (diff) |
Fix invalid conversion from 'const char*' to 'char*' on FreeBSD.
Diffstat (limited to 'src')
-rw-r--r-- | src/dynamic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp index 25178cfa1..d111da548 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 |