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
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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