modify rt_size_t's type
This commit is contained in:
parent
857428bd23
commit
cefc77ad11
|
@ -75,9 +75,11 @@ typedef unsigned int rt_uint32_t; /**< 32bit unsigned inte
|
||||||
#ifdef ARCH_CPU_64BIT
|
#ifdef ARCH_CPU_64BIT
|
||||||
typedef signed long rt_int64_t; /**< 64bit integer type */
|
typedef signed long rt_int64_t; /**< 64bit integer type */
|
||||||
typedef unsigned long rt_uint64_t; /**< 64bit unsigned integer type */
|
typedef unsigned long rt_uint64_t; /**< 64bit unsigned integer type */
|
||||||
|
typedef unsigned long rt_size_t; /**< Type for size number */
|
||||||
#else
|
#else
|
||||||
typedef signed long long rt_int64_t; /**< 64bit integer type */
|
typedef signed long long rt_int64_t; /**< 64bit integer type */
|
||||||
typedef unsigned long long rt_uint64_t; /**< 64bit unsigned integer type */
|
typedef unsigned long long rt_uint64_t; /**< 64bit unsigned integer type */
|
||||||
|
typedef unsigned int rt_size_t; /**< Type for size number */
|
||||||
#endif /* ARCH_CPU_64BIT */
|
#endif /* ARCH_CPU_64BIT */
|
||||||
#endif /* RT_USING_ARCH_DATA_TYPE */
|
#endif /* RT_USING_ARCH_DATA_TYPE */
|
||||||
|
|
||||||
|
@ -89,7 +91,6 @@ typedef rt_base_t rt_err_t; /**< Type for error numb
|
||||||
typedef rt_uint32_t rt_time_t; /**< Type for time stamp */
|
typedef rt_uint32_t rt_time_t; /**< Type for time stamp */
|
||||||
typedef rt_uint32_t rt_tick_t; /**< Type for tick count */
|
typedef rt_uint32_t rt_tick_t; /**< Type for tick count */
|
||||||
typedef rt_base_t rt_flag_t; /**< Type for flags */
|
typedef rt_base_t rt_flag_t; /**< Type for flags */
|
||||||
typedef rt_uint32_t rt_size_t; /**< Type for size number */
|
|
||||||
typedef rt_ubase_t rt_dev_t; /**< Type for device */
|
typedef rt_ubase_t rt_dev_t; /**< Type for device */
|
||||||
typedef rt_base_t rt_off_t; /**< Type for offset */
|
typedef rt_base_t rt_off_t; /**< Type for offset */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue