I'm trying to do a simple stack implementation, however the message appears:
warning: initialization from incompatible pointer type -Wincompatible-pointer-types
This warning appears on both line 20 and line 29. These pointers are of the same type (in the *) and the implementation works correctly. Can anyone help me?