X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_dump.c;h=7a904f3401907604820767af9cb63aa4f1256532;hb=dfa48296997789a3a7d3c95e9b1b01be3a4235a6;hp=baf560c721342854342ddc724fe096e66895daed;hpb=40cc8b00296079815f08c2ff55f134efae83ea69;p=rrdtool.git
diff --git a/src/rrd_dump.c b/src/rrd_dump.c
index baf560c..7a904f3 100644
--- a/src/rrd_dump.c
+++ b/src/rrd_dump.c
@@ -113,8 +113,8 @@ int rrd_dump_r(
#else
# error "Need strftime"
#endif
- fprintf(out_file, "\t %ld \n\n",
- rrd.live_head->last_up, somestring);
+ fprintf(out_file, "\t %lu \n\n",
+ (unsigned long) rrd.live_head->last_up, somestring);
for (i = 0; i < rrd.stat_head->ds_cnt; i++) {
fprintf(out_file, "\t\n");
fprintf(out_file, "\t\t %s \n", rrd.ds_def[i].ds_nam);