summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c7f2381)
raw | patch | inline | side by side (parent: c7f2381)
author | Francesco Romani <fromani@redhat.com> | |
Wed, 15 Feb 2017 13:21:20 +0000 (14:21 +0100) | ||
committer | Francesco Romani <fromani@redhat.com> | |
Wed, 15 Feb 2017 13:21:20 +0000 (14:21 +0100) |
Previously it failed to compile, even though somehow gcc 6.3.1 liked it.
src/virt.c | patch | blob | history |
diff --git a/src/virt.c b/src/virt.c
index f2dccec45c3f34352f7debd1c1df470aa205e97c..68a8e6b98d91970f9d405e6efee3c14fe285c11e 100644 (file)
--- a/src/virt.c
+++ b/src/virt.c
}
}
-static unsigned int parse_ex_stats_flags(const char *exstats, int numexstats) {
+static unsigned int parse_ex_stats_flags(char **exstats, int numexstats) {
int extra_stats = ex_stats_none;
for (int i = 0; i < numexstats; i++) {
for (int j = 0; ex_stats_table[j].name != NULL; j++) {