diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2014-02-25 02:33:04 +0100 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:42:40 +0200 |
commit | 798d7215498ae69f4f9c27d16f33b86d9234ea78 (patch) | |
tree | 3196b801eb7e56393a84fe4f28fd1a2213c6bb4c /test | |
parent | df23bdc642e33c502b1302c875003cd6e296c41c (diff) | |
download | libass-798d7215498ae69f4f9c27d16f33b86d9234ea78.tar.bz2 libass-798d7215498ae69f4f9c27d16f33b86d9234ea78.tar.xz |
Fix compiler compatibility
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index 33aa94c..72a6991 100644 --- a/test/test.c +++ b/test/test.c @@ -175,11 +175,12 @@ char *font_provider_labels[] = { static void print_font_providers(ASS_Library *ass_library) { + int i; ASS_DefaultFontProvider *providers; size_t providers_size = 0; ass_get_available_font_providers(ass_library, &providers, &providers_size); printf("test.c: Available font providers (%zu): ", providers_size); - for (int i = 0; i < providers_size; i++) { + for (i = 0; i < providers_size; i++) { const char *separator = i > 0 ? ", ": ""; printf("%s'%s'", separator, font_provider_labels[providers[i]]); } |