From: Stefan Eissing Date: Sun, 30 Oct 2016 20:41:55 +0000 (+0000) Subject: mod_http2: c89 slippage fixed X-Git-Tag: 2.5.0-alpha~1057 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be7367c6af3f6741dd3e991e821fe16933638b1b;p=apache mod_http2: c89 slippage fixed git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1767181 13f79535-47bb-0310-9956-ffa450edef68 --- 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;