diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-11-29 11:26:35 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-11-29 11:26:35 +0100 |
commit | 4216de6a3336cbc6dddb572cb7e6ab6193bf3729 (patch) | |
tree | 327a40dae71db474527a1281a205cc2ebddb2ce6 /test/testu.c | |
parent | 40f3d0030e6e98bcb02d6523e5ee48497dec49a6 (diff) |
New upstream version 6.9.4upstream/6.9.4
Diffstat (limited to 'test/testu.c')
-rw-r--r-- | test/testu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testu.c b/test/testu.c index 397da95..24397ab 100644 --- a/test/testu.c +++ b/test/testu.c @@ -190,8 +190,9 @@ static void n(char* pattern, char* str) extern int main(int argc, char* argv[]) { - static OnigEncoding use_encs[] = { ONIG_ENCODING_UTF16_BE }; + OnigEncoding use_encs[1]; + use_encs[0] = ONIG_ENCODING_UTF16_BE; onig_initialize(use_encs, sizeof(use_encs)/sizeof(use_encs[0])); err_file = stdout; |