C: fix bug in array initializers

This commit is contained in:
Alexey Andreev 2020-03-04 11:37:04 +03:00
parent 37f07b80c3
commit a152a28a2d

View File

@ -83,6 +83,7 @@ void teavm_initClasses() {
*data++ = (type) va_arg(args, arrayType); \ *data++ = (type) va_arg(args, arrayType); \
} \ } \
va_end(args); \ va_end(args); \
return array; \
} }
TEAVM_FILL_ARRAY_F(teavm_fillArray, void*, void*) TEAVM_FILL_ARRAY_F(teavm_fillArray, void*, void*)