]> 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:29 +0000 (15:12 -0500)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 25 Feb 2019 20:12:29 +0000 (15:12 -0500)
ppdc/ppdc-array.cxx

index acd1e222e02cc0c203f85569ba08d139ee302eb7..b33cd627d74bdb07aadd06528e98bae34c2173b8 100644 (file)
@@ -39,7 +39,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