summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load.c b/src/load.c
index f22e26787..7e58614a7 100644
--- a/src/load.c
+++ b/src/load.c
@@ -16,7 +16,7 @@ static size_t
offset_crc_body()
{
struct rite_binary_header header;
- return ((void*)header.binary_crc - (void*)&header) + sizeof(header.binary_crc);
+ return ((char *)header.binary_crc - (char *)&header) + sizeof(header.binary_crc);
}
static int