From: Kristian Høgsberg Date: Mon, 8 Jul 2013 23:06:06 +0000 (-0400) Subject: tests: Fix warnings in config-parser-test X-Git-Tag: 1.1.91~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac3a8b83fd900c8d38f808f1255e4b1d0ee50c5c;p=platform%2Fupstream%2Fweston.git tests: Fix warnings in config-parser-test --- 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);