Avoid pointer arithmetic on `void *`
The pointer operand to the binary +
operator must be to a complete
object type. Since we are working with byte sizes, use char *
for
arithmetic instead.
Signed-off-by: Michael Forney mforney@mforney.org
The pointer operand to the binary +
operator must be to a complete
object type. Since we are working with byte sizes, use char *
for
arithmetic instead.
Signed-off-by: Michael Forney mforney@mforney.org