diff options
Diffstat (limited to 'src/lj_ccall.c')
-rw-r--r-- | src/lj_ccall.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lj_ccall.c b/src/lj_ccall.c index 22171778..c3eb25f6 100644 --- a/src/lj_ccall.c +++ b/src/lj_ccall.c | |||
@@ -684,7 +684,6 @@ static int ccall_get_results(lua_State *L, CTState *cts, CType *ct, | |||
684 | #endif | 684 | #endif |
685 | /* No reference types end up here, so there's no need for the CTypeID. */ | 685 | /* No reference types end up here, so there's no need for the CTypeID. */ |
686 | lua_assert(!(ctype_isrefarray(ctr->info) || ctype_isstruct(ctr->info))); | 686 | lua_assert(!(ctype_isrefarray(ctr->info) || ctype_isstruct(ctr->info))); |
687 | if (ctype_isenum(ctr->info)) ctr = ctype_child(cts, ctr); | ||
688 | return lj_cconv_tv_ct(cts, ctr, 0, L->top-1, sp); | 687 | return lj_cconv_tv_ct(cts, ctr, 0, L->top-1, sp); |
689 | } | 688 | } |
690 | 689 | ||