]> granicus.if.org Git - apache/commitdiff
mod_http2: c89 slippage fixed
authorStefan Eissing <icing@apache.org>
Sun, 30 Oct 2016 20:41:55 +0000 (20:41 +0000)
committerStefan Eissing <icing@apache.org>
Sun, 30 Oct 2016 20:41:55 +0000 (20:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1767181 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_util.c

index c528b5f027d24ac9ea039397fe587782a9e5ea07..d800b405692e5a70bf1abf5e6bff125ebd134cdd 100644 (file)
@@ -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;