summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b720b5a)
raw | patch | inline | side by side (parent: b720b5a)
author | Florian Forster <octo@collectd.org> | |
Mon, 29 Jun 2015 07:51:12 +0000 (09:51 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 29 Jun 2015 07:51:12 +0000 (09:51 +0200) |
src/daemon/common_test.c | patch | blob | history |
index b1701bcf50688b325813b4ec880e0b0a5b95ac77..d34e4112ee3f27577184054937c4869bfd736c03 100644 (file)
--- a/src/daemon/common_test.c
+++ b/src/daemon/common_test.c
{ 0, 10, DS_TYPE_COUNTER, {.counter = 0}, {.counter = 1000}, NAN},
{10, 20, DS_TYPE_COUNTER, {.counter = 1000}, {.counter = 5000}, 400.0},
/* 32bit wrap-around. */
- {20, 30, DS_TYPE_COUNTER, {.counter = 4294967238}, {.counter = 42}, 10.0},
+ {20, 30, DS_TYPE_COUNTER, {.counter = 4294967238ULL}, {.counter = 42}, 10.0},
+ /* 64bit wrap-around. */
{30, 40, DS_TYPE_COUNTER, {.counter = 18446744073709551558ULL}, {.counter = 42}, 10.0},
};
size_t i;