]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix another compiler warning.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 25 Feb 2019 20:12:16 +0000 (15:12 -0500)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 25 Feb 2019 20:12:16 +0000 (15:12 -0500)
ppdc/ppdc-array.cxx

index fac8f0a29100d819258c21206cb86176302d69f8..3a0cab33be48535b3877b7c3c51674ca9d0475fd 100644 (file)
@@ -35,7 +35,7 @@ ppdcArray::ppdcArray(ppdcArray *a)
 
       memcpy(data, a->data, (size_t)count * sizeof(ppdcShared *));
 
-      for (int i = 0; i < count; i ++)
+      for (size_t i = 0; i < count; i ++)
         data[i]->retain();
     }
     else