Replace void pointer arithmetics with byte pointer arithmetics.

This commit is contained in:
Marko Mäkelä 2011-11-08 08:54:52 +02:00
parent 82642cd369
commit d4db630713

View File

@ -3551,8 +3551,8 @@ bitmap_fail:
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