mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 08:34:20 +02:00
Fixed compilation warning.
This commit is contained in:
parent
0d8b352150
commit
68a0c569ce
@ -47,7 +47,7 @@ string PosixException::FormatErrorCode(int code)
|
||||
|
||||
string OpenSSLException::FormatErrorCode(int code)
|
||||
{
|
||||
char *message = ERR_error_string(code, NULL);
|
||||
const char *message = ERR_error_string(code, NULL);
|
||||
|
||||
if (message == NULL)
|
||||
message = "Unknown error.";
|
||||
|
Loading…
x
Reference in New Issue
Block a user