Commit 941a6640 authored by Marko Mäkelä's avatar Marko Mäkelä

Replace void pointer arithmetics with byte pointer arithmetics.

parent 19b9de6b
......@@ -3551,8 +3551,8 @@ ibuf_insert_low(
field = dtuple_get_nth_field(
ibuf_entry, IBUF_REC_FIELD_METADATA);
mach_write_to_2(
dfield_get_data(field) + IBUF_REC_OFFSET_COUNTER,
counter);
(byte*) dfield_get_data(field)
+ IBUF_REC_OFFSET_COUNTER, counter);
}
/* Set the bitmap bit denoting that the insert buffer contains
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment