summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 449418f)
raw | patch | inline | side by side (parent: 449418f)
author | Florian Forster <octo@noris.net> | |
Wed, 1 Jul 2009 13:39:11 +0000 (15:39 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Wed, 1 Jul 2009 13:39:11 +0000 (15:39 +0200) |
Instead of `strtoll'.
src/gmond.c | patch | blob | history |
diff --git a/src/gmond.c b/src/gmond.c
index aeb36c184623adce9fcf5fd06e3311779961f1bf..006f5b8c1595a51c8cfcafabb319c6103a57e1e5 100644 (file)
--- a/src/gmond.c
+++ b/src/gmond.c
endptr = NULL;
errno = 0;
- value_counter.counter = (counter_t) strtoll (msg_string.str,
+ value_counter.counter = (counter_t) strtoull (msg_string.str,
&endptr, /* base = */ 0);
if ((endptr == msg_string.str) || (errno != 0))
value_counter.counter = -1;