X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Ftypes%2Fassert_stmt.c;h=ba86758d70254cc18c32b826d0b38e0b11cc93f3;hp=084f9fc192431803b12d1c99d8875bf27fe4b93f;hb=6509a2053456d0e63b6f383b757289d3016ed1a5;hpb=ef48feab1da9d7a419980294bcbf03ceefd81d1c diff --git a/src/types/assert_stmt.c b/src/types/assert_stmt.c index 084f9fc..ba86758 100644 --- a/src/types/assert_stmt.c +++ b/src/types/assert_stmt.c @@ -62,7 +62,7 @@ void psi_assert_stmt_dump(int fd, struct psi_assert_stmt *stmt) bool psi_assert_stmt_exec(struct psi_assert_stmt *stmt, struct psi_call_frame *frame) { impl_val res, chk; - token_t res_type = psi_num_exp_exec(stmt->exp, &res, frame); + token_t res_type = psi_num_exp_exec(stmt->exp, &res, frame, NULL); psi_calc_cast(res_type, &res, PSI_T_UINT8, &chk); return chk.u8;