git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
api documentation for ec_parse
[protos/libecoli.git]
/
src
/
ecoli_test.c
diff --git
a/src/ecoli_test.c
b/src/ecoli_test.c
index
3e7d625
..
541ae01
100644
(file)
--- a/
src/ecoli_test.c
+++ b/
src/ecoli_test.c
@@
-99,7
+99,7
@@
int ec_test_check_complete(struct ec_node *tk, enum ec_comp_type type, ...)
struct ec_strvec *vec = NULL;
const char *s;
int ret = 0;
struct ec_strvec *vec = NULL;
const char *s;
int ret = 0;
-
unsigned in
t count = 0;
+
size_
t count = 0;
va_list ap;
va_start(ap, type);
va_list ap;
va_start(ap, type);
@@
-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 *)) {
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;
if (s == NULL) {
ret = -1;
@@
-155,7
+155,7
@@
int ec_test_check_complete(struct ec_node *tk, enum ec_comp_type type, ...)
/* check if we have more completions (or less) than expected */
if (count != ec_comp_count(c, type)) {
EC_LOG(EC_LOG_ERR,
/* check if we have more completions (or less) than expected */
if (count != ec_comp_count(c, type)) {
EC_LOG(EC_LOG_ERR,
- "nb_completion (%
d) does not match (%d
)\n",
+ "nb_completion (%
zu) does not match (%zu
)\n",
count, ec_comp_count(c, type));
ec_comp_dump(stdout, c);
ret = -1;
count, ec_comp_count(c, type));
ec_comp_dump(stdout, c);
ret = -1;