From ac3a8b83fd900c8d38f808f1255e4b1d0ee50c5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 8 Jul 2013 19:06:06 -0400 Subject: [PATCH] tests: Fix warnings in config-parser-test --- tests/config-parser-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/config-parser-test.c b/tests/config-parser-test.c index 12a8fbd..83e89ba 100644 --- a/tests/config-parser-test.c +++ b/tests/config-parser-test.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "config-parser.h" @@ -37,7 +38,7 @@ run_test(const char *text) fd = mkstemp(file); len = write(fd, text, strlen(text)); - assert(len == strlen(text)); + assert(len == (int) strlen(text)); config = weston_config_parse(fd); close(fd); -- 2.7.4