mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue