Fixed compilation warning.

This commit is contained in:
Gunnar Beutner 2012-04-26 12:55:48 +02:00
parent 0d8b352150
commit 68a0c569ce
1 changed files with 1 additions and 1 deletions

View 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.";