Code

rrd_update and rrd_rpncalc - fix casts introduced by win32 patch to make gcc happy too
[rrdtool.git] / src / rrd_update.c
index e4252db2ef829399d16dffe3f4f416d7472bb47c..a06b404e9d3ef26c545959bd469b8652e22834bb 100644 (file)
@@ -1558,7 +1558,7 @@ static int update_cdp_prep(
             if (elapsed_pdp_st > 2) {
                 reset_cdp(rrd, elapsed_pdp_st, pdp_temp, last_seasonal_coef,
                           seasonal_coef, rra_idx, ds_idx, cdp_idx,
-                          (cf_en)current_cf);
+                          (enum cf_en)current_cf);
             }
         }