Skip to content
Commit 678c8681 authored by Michael Forney's avatar Michael Forney Committed by Simon Ser
Browse files

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: default avatarMichael Forney <mforney@mforney.org>
parent 55d04481
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment