From: Michael Wallner Date: Mon, 18 Jan 2016 13:52:29 +0000 (+0100) Subject: fix type discovery X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=62877a54eeac35ed1b7e4c3ec7d589756d9da36d;p=m6w6%2Fext-psi fix type discovery --- diff --git a/src/libjit.c b/src/libjit.c index 8a766f3..273c478 100644 --- a/src/libjit.c +++ b/src/libjit.c @@ -42,6 +42,8 @@ static inline jit_type_t psi_jit_token_type(token_t t) { return jit_type_sys_float; case PSI_T_DOUBLE: return jit_type_sys_double; + case PSI_T_POINTER: + return jit_type_void_ptr; EMPTY_SWITCH_DEFAULT_CASE(); } }