]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Fix warning
authorPeter Stamfest <peter@stamfest.at>
Mon, 17 Mar 2014 07:40:27 +0000 (08:40 +0100)
committerPeter Stamfest <peter@stamfest.at>
Mon, 17 Mar 2014 11:03:37 +0000 (12:03 +0100)
src/rrd_modify.c

index d2d35f97d8042357049f93db3554ade6330589dc..abc6ca271d42d2476c1125ebcd965bf4d2715677 100644 (file)
@@ -758,7 +758,7 @@ static int stretch_rras(rrd_t *out, int stretch) {
        goto done;
     }
     
-    int ds_cnt = out->stat_head->ds_cnt;
+    unsigned int ds_cnt = out->stat_head->ds_cnt;
     unsigned int rra_index, ds_index;
     for (rra_index = 0 ; rra_index < out->stat_head->rra_cnt ; rra_index++) {
        rra_def_t *rra = out->rra_def + rra_index;