...
This example compiles without warning using GCC 4.8 on Ubuntu Linux 14.04. However, vint_pointer
can be more strictly aligned than an object of type int char *
.
Compliant Solution
Because the input parameter directly influences the return value, and loop_function()
returns an object of type int *
, the formal parameter v_pointer
is redeclared to accept only an object of type int *
:
...