#define __field(_type, _item) \
{ \
.name = #_item, \
- .type = __type_integer(_type, __BYTE_ORDER), \
+ .type = __type_integer(_type, __BYTE_ORDER, 10), \
},
#undef __field_ext
#define __field_network(_type, _item) \
{ \
.name = #_item, \
- .type = __type_integer(_type, __BIG_ENDIAN), \
+ .type = __type_integer(_type, __BIG_ENDIAN, 10), \
},
#undef __array
.u.array = \
{ \
.length = _length, \
- .elem_type = __type_integer(_type, __BYTE_ORDER), \
+ .elem_type = __type_integer(_type, __BYTE_ORDER, 10), \
}, \
}, \
},
.atype = atype_sequence, \
.u.sequence = \
{ \
- .length_type = __type_integer(u32, __BYTE_ORDER), \
- .elem_type = __type_integer(_type, __BYTE_ORDER), \
+ .length_type = __type_integer(u32, __BYTE_ORDER, 10), \
+ .elem_type = __type_integer(_type, __BYTE_ORDER, 10), \
}, \
}, \
},