Check sizes of C struct field
Fix field types