summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09075e4)
raw | patch | inline | side by side (parent: 09075e4)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 29 Mar 2010 16:25:34 +0000 (16:25 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 29 Mar 2010 16:25:34 +0000 (16:25 +0000) |
program/src/rrd_dump.c | patch | blob | history |
diff --git a/program/src/rrd_dump.c b/program/src/rrd_dump.c
index 07919b79459c6b8fd4ccf7150aa0a817df80c1cd..ccc5349f1c5092e097d4ab8dfd3abb0cb471c6e6 100644 (file)
--- a/program/src/rrd_dump.c
+++ b/program/src/rrd_dump.c
# error "Need strftime"
#endif
CB_FMTS("\t<lastupdate>%lld</lastupdate> <!-- %s -->\n\n",
- (long long) rrd.live_head->last_up, somestring);
+ (long long int) rrd.live_head->last_up, somestring);
for (i = 0; i < rrd.stat_head->ds_cnt; i++) {
CB_PUTS("\t<ds>\n");
#else
# error "Need strftime"
#endif
- CB_FMTS("\t\t\t<!-- %s / %lld --> <row>", somestring, (long long) now);
+ CB_FMTS("\t\t\t<!-- %s / %lld --> <row>", somestring, (long long int) now);
for (iii = 0; iii < rrd.stat_head->ds_cnt; iii++) {
rrd_read(rrd_file, &my_cdp, sizeof(rrd_value_t) * 1);
if (isnan(my_cdp)) {