]> granicus.if.org Git - icinga2/commitdiff
Fixed compilation warning.
authorGunnar Beutner <gunnar.beutner@netways.de>
Thu, 26 Apr 2012 10:55:48 +0000 (12:55 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 26 Apr 2012 10:55:48 +0000 (12:55 +0200)
base/exception.cpp

index 95d46e2319cc0166dd871baa77af41835ef0dcea..febf609e8e0110affbbad3de259ba46a9a86ade8 100644 (file)
@@ -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.";