diff --git a/lang/cem/cemcom.ansi/l_misc.c b/lang/cem/cemcom.ansi/l_misc.c index 474c82f20..6f900fd78 100644 --- a/lang/cem/cemcom.ansi/l_misc.c +++ b/lang/cem/cemcom.ansi/l_misc.c @@ -334,6 +334,9 @@ lint_ptr_conv(from, to) if (from == to) return; + if (to == VOID) + return; + if (to == CHAR) return;