c99 offsetof fix

did not compile