From: Gunnar Beutner Date: Thu, 26 Apr 2012 10:55:48 +0000 (+0200) Subject: Fixed compilation warning. X-Git-Tag: v0.0.1~581 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68a0c569ce468ec8be6881305d46216f31b698ba;p=icinga2 Fixed compilation warning. --- diff --git a/base/exception.cpp b/base/exception.cpp index 95d46e231..febf609e8 100644 --- a/base/exception.cpp +++ b/base/exception.cpp @@ -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.";