Fix: lint complained about ptr->void* conversions
authorceriel <none@none>
Thu, 17 Dec 1992 11:18:38 +0000 (11:18 +0000)
committerceriel <none@none>
Thu, 17 Dec 1992 11:18:38 +0000 (11:18 +0000)
lang/cem/cemcom.ansi/l_misc.c

index 474c82f..6f900fd 100644 (file)
@@ -334,6 +334,9 @@ lint_ptr_conv(from, to)
        if (from == to)
                return;
 
+       if (to == VOID)
+               return;
+
        if (to == CHAR)
                return;