diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-31 05:22:56 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-31 05:22:56 +0800 |
commit | 9ed3e1b3f37f446206ad0f438ffdecf588a32590 (patch) | |
tree | ccd4c03947e3a3de64bde3f0b26240c6140de153 /include/mtp_level3.h | |
parent | 585f3d90d17745418e162b26e76f92d6c36cf3a0 (diff) |
u_int32_t -> uint32_t
Diffstat (limited to 'include/mtp_level3.h')
-rw-r--r-- | include/mtp_level3.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mtp_level3.h b/include/mtp_level3.h index 881cee3..ad00c1a 100644 --- a/include/mtp_level3.h +++ b/include/mtp_level3.h @@ -70,7 +70,7 @@ #define MTP_MAKE_APOC(apoc) \ (apoc & 0x3fff) #elif __BYTE_ORDER == __BIG_ENDIAN -static inline u_int32_t c_swap_32(u_int32_t in) +static inline uint32_t c_swap_32(uint32_t in) { return (((in & 0x000000ff) << 24) | ((in & 0x0000ff00) << 8) | @@ -116,7 +116,7 @@ struct mtp_level_3_hdr { spare : 2, ser_ind : 4; #endif - u_int32_t addr; + uint32_t addr; uint8_t data[0]; } __attribute__((packed)); |