From: Stephan Bosch Date: Sun, 8 Oct 2017 10:19:09 +0000 (+0200) Subject: doveadm-server: http: Changed index variables from size_t to unsigned int where size_... X-Git-Tag: 2.3.0.rc1~759 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e79e121745d3e75aa5f449f50d6439d6b1671763;p=thirdparty%2Fdovecot%2Fcore.git doveadm-server: http: Changed index variables from size_t to unsigned int where size_t makes no sense. --- diff --git a/src/doveadm/client-connection-http.c b/src/doveadm/client-connection-http.c index e842622178..63d8d60693 100644 --- a/src/doveadm/client-connection-http.c +++ b/src/doveadm/client-connection-http.c @@ -646,9 +646,9 @@ static void doveadm_http_server_send_api_v1(struct client_connection_http *conn) { struct ostream *output = conn->client.output; - size_t i, k; const struct doveadm_cmd_ver2 *cmd; const struct doveadm_cmd_param *par; + unsigned int i, k; string_t *tmp; bool sent; @@ -729,7 +729,7 @@ static void doveadm_http_server_print_mounts(struct client_connection_http *conn) { struct ostream *output = conn->client.output; - size_t i; + unsigned int i; o_stream_nsend_str(output, "[\n"); for (i = 0; i < N_ELEMENTS(doveadm_http_server_mounts); i++) { @@ -812,7 +812,7 @@ doveadm_http_server_handle_request(void *context, struct http_server_request *ht const struct http_request *http_req = http_server_request_get(http_sreq); struct doveadm_http_server_mount *ep = NULL; - size_t i; + unsigned int i; conn->http_server_request = http_sreq; conn->http_request = http_req;