From: Sebastian Hahn Date: Mon, 31 Dec 2012 17:29:56 +0000 (+0100) Subject: Fix harmless clang enum warning X-Git-Tag: release-2.1.3-alpha~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b452a4345088dcc7e7491bcff612f9f11dfb17da;p=libevent Fix harmless clang enum warning --- diff --git a/http.c b/http.c index 22a46a95..0976e045 100644 --- a/http.c +++ b/http.c @@ -1651,7 +1651,7 @@ evhttp_parse_request_line(struct evhttp_request *req, char *line) break; } /* switch */ - if (type == EVHTTP_REQ_UNKNOWN_) { + if ((int)type == EVHTTP_REQ_UNKNOWN_) { event_debug(("%s: bad method %s on request %p from %s", __func__, method, req, req->remote_host)); /* No error yet; we'll give a better error later when