summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd4a555)
raw | patch | inline | side by side (parent: fd4a555)
author | Florian Forster <octo@huhu.verplant.org> | |
Tue, 17 Aug 2010 06:05:38 +0000 (08:05 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 17 Aug 2010 06:06:25 +0000 (08:06 +0200) |
src/utils_match.c | patch | blob | history |
diff --git a/src/utils_match.c b/src/utils_match.c
index 9dd2da7db84a5d11b77adb3cdf1ff34727d99d51..e4240eab607c497f8ff61444cc2c953e1e50b7d6 100644 (file)
--- a/src/utils_match.c
+++ b/src/utils_match.c
if (matches_num < 2)
return (-1);
- value = strtod (matches[1], &endptr);
+ value = (gauge_t) strtod (matches[1], &endptr);
if (matches[1] == endptr)
return (-1);
if (matches_num < 2)
return (-1);
- value = strtoll (matches[1], &endptr, 0);
+ value = (counter_t) strtoull (matches[1], &endptr, 0);
if (matches[1] == endptr)
return (-1);
if (matches_num < 2)
return (-1);
- value = strtoll (matches[1], &endptr, 0);
+ value = (absolute_t) strtoull (matches[1], &endptr, 0);
if (matches[1] == endptr)
return (-1);