File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,11 @@ typedef unsigned int rt_uint32_t; /**< 32bit unsigned inte
7575#ifdef ARCH_CPU_64BIT
7676typedef signed long rt_int64_t ; /* *< 64bit integer type */
7777typedef unsigned long rt_uint64_t ; /* *< 64bit unsigned integer type */
78+ typedef unsigned long rt_size_t ; /* *< Type for size number */
7879#else
7980typedef signed long long rt_int64_t ; /* *< 64bit integer type */
8081typedef unsigned long long rt_uint64_t ; /* *< 64bit unsigned integer type */
82+ typedef unsigned int rt_size_t ; /* *< Type for size number */
8183#endif /* ARCH_CPU_64BIT */
8284#endif /* RT_USING_ARCH_DATA_TYPE */
8385
@@ -89,7 +91,6 @@ typedef rt_base_t rt_err_t; /**< Type for error numb
8991typedef rt_uint32_t rt_time_t ; /* *< Type for time stamp */
9092typedef rt_uint32_t rt_tick_t ; /* *< Type for tick count */
9193typedef rt_base_t rt_flag_t ; /* *< Type for flags */
92- typedef rt_uint32_t rt_size_t ; /* *< Type for size number */
9394typedef rt_ubase_t rt_dev_t ; /* *< Type for device */
9495typedef rt_base_t rt_off_t ; /* *< Type for offset */
9596
You can’t perform that action at this time.
0 commit comments