Please sign in to comment.
Fix build warning.
The prototype function pointer is "struct base *" so the overridden function should use the same type. This fixes the following warning. c-inheritance.c:39:3: warning: initialization from incompatible pointer type c-inheritance.c:40:3: warning: initialization from incompatible pointer type
- Loading branch information...