From b452a4345088dcc7e7491bcff612f9f11dfb17da Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Mon, 31 Dec 2012 18:29:56 +0100 Subject: [PATCH] Fix harmless clang enum warning --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1