Fix warning about bitfield in struct ref