From b1be3e348767e85aa2f1405f10e2383ad54ce5a0 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 17 Dec 1992 11:18:38 +0000 Subject: [PATCH] Fix: lint complained about ptr->void* conversions --- lang/cem/cemcom.ansi/l_misc.c | 3 +++ 1 file changed, 3 insertions(+) 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;