projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2199 from jaroug/support_attributes_kairosdb
[collectd.git]
/
src
/
virt.c
diff --git
a/src/virt.c
b/src/virt.c
index
692088c
..
e95a31b
100644
(file)
--- a/
src/virt.c
+++ b/
src/virt.c
@@
-414,7
+414,7
@@
static void memory_stats_submit(gauge_t value, virDomainPtr dom,
"minor_fault", "unused", "available",
"actual_balloon", "rss"};
"minor_fault", "unused", "available",
"actual_balloon", "rss"};
- if ((tag_index < 0) || (tag_index >= STATIC_ARRAY_SIZE(tags))) {
+ if ((tag_index < 0) || (tag_index >=
(int)
STATIC_ARRAY_SIZE(tags))) {
ERROR("virt plugin: Array index out of bounds: tag_index = %d", tag_index);
return;
}
ERROR("virt plugin: Array index out of bounds: tag_index = %d", tag_index);
return;
}