summaryrefslogtreecommitdiff
path: root/test/csdetect.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-05-26 16:36:05 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-05-26 16:36:05 +0000
commit3ac3208445d6f2539b5ff3abf17d490abd2c2aaa (patch)
tree931b0986ca92ffb63b621c07c2a67ad950d382bc /test/csdetect.c
parentaacc6351473a2019482067c4443507e70f1b071b (diff)
downloadlibcss-3ac3208445d6f2539b5ff3abf17d490abd2c2aaa.tar.gz
libcss-3ac3208445d6f2539b5ff3abf17d490abd2c2aaa.tar.bz2
Fix warning.
svn path=/trunk/libcss/; revision=12444
Diffstat (limited to 'test/csdetect.c')
-rw-r--r--test/csdetect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/csdetect.c b/test/csdetect.c
index c254cdd..b8c8e3f 100644
--- a/test/csdetect.c
+++ b/test/csdetect.c
@@ -107,7 +107,8 @@ void run_test(const uint8_t *data, size_t len, char *expected)
css_charset_source source = CSS_CHARSET_DEFAULT;
static int testnum;
- assert(css__charset_extract(data, len, &mibenum, &source) == CSS_OK);
+ assert(css__charset_extract(data, len, &mibenum, &source) ==
+ PARSERUTILS_OK);
assert(mibenum != 0);