From: Sebastian Hahn Date: Sun, 2 May 2010 10:51:35 +0000 (+0200) Subject: Fix a compile warning introduced in 739e688 X-Git-Tag: release-2.0.5-beta~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd1ed5f3c5015999c91a33bd5d7ed69b8b7b81d5;p=libevent Fix a compile warning introduced in 739e688 --- diff --git a/http.c b/http.c index 511bff87..c92f60fc 100644 --- a/http.c +++ b/http.c @@ -1256,7 +1256,7 @@ evhttp_parse_response_line(struct evhttp_request *req, char *line) { char *protocol; char *number; - char *readable = ""; + const char *readable = ""; protocol = strsep(&line, " "); if (line == NULL)