Skip to content
Snippets Groups Projects
Commit ac3a8b83 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

tests: Fix warnings in config-parser-test

parent d2d70f2a
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <unistd.h>
#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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment