fix warning, remove const
authorOlivier Matz <zer0@droids-corp.org>
Sat, 22 Feb 2020 21:19:07 +0000 (22:19 +0100)
committerOlivier Matz <zer0@droids-corp.org>
Sat, 22 Feb 2020 21:19:07 +0000 (22:19 +0100)
src/ecoli_test.c

index 4ec4d7b..541ae01 100644 (file)
@@ -129,7 +129,7 @@ int ec_test_check_complete(struct ec_node *tk, enum ec_comp_type type, ...)
        for (s = va_arg(ap, const char *);
             s != EC_VA_END;
             s = va_arg(ap, const char *)) {
-               const struct ec_comp_item *item;
+               struct ec_comp_item *item;
 
                if (s == NULL) {
                        ret = -1;