From be7367c6af3f6741dd3e991e821fe16933638b1b Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Sun, 30 Oct 2016 20:41:55 +0000 Subject: [PATCH] mod_http2: c89 slippage fixed git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1767181 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http2/h2_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/http2/h2_util.c b/modules/http2/h2_util.c index c528b5f027..d800b40569 100644 --- a/modules/http2/h2_util.c +++ b/modules/http2/h2_util.c @@ -531,7 +531,8 @@ int h2_iq_shift(h2_iqueue *q) size_t h2_iq_mshift(h2_iqueue *q, int *pint, size_t max) { - for (int i = 0; i < max; ++i) { + int i; + for (i = 0; i < max; ++i) { pint[i] = h2_iq_shift(q); if (pint[i] == 0) { break; -- 2.40.0