Silence compiler warnings by using designated datatypes for size and offset