From 3cd61d86de6a18a79fdd21952a67b7d1a7f9c517 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 8 Jun 2018 08:44:39 +0100 Subject: Fix invalid conversion from 'const char*' to 'char*' on FreeBSD. --- src/dynamic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3