summaryrefslogtreecommitdiff
path: root/test/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse.c')
-rw-r--r--test/parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parse.c b/test/parse.c
index ed0deb7..543cfe3 100644
--- a/test/parse.c
+++ b/test/parse.c
@@ -83,6 +83,7 @@ int main(int argc, char **argv)
uint8_t buf[CHUNK_SIZE];
css_error error;
lwc_context *ctx;
+ int i;
if (argc != 3) {
printf("Usage: %s <aliases_file> <filename>\n", argv[0]);
@@ -94,7 +95,7 @@ int main(int argc, char **argv)
assert(lwc_create_context(myrealloc, NULL, &ctx) == lwc_error_ok);
lwc_context_ref(ctx);
- for (int i = 0; i < ITERATIONS; i++) {
+ for (i = 0; i < ITERATIONS; i++) {
assert(css_parser_create("UTF-8", CSS_CHARSET_DICTATED, ctx,
myrealloc, NULL, &parser) == CSS_OK);