diff options
| author | Meco Man <[email protected]> | 2021-11-16 12:06:55 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-11-16 12:06:55 -0500 |
| commit | e82fe76a0fccd87f9dd801ee5a5f3a359b357aaf (patch) | |
| tree | 568a9c2e5d2070dc88688a0c4c41f797d1b793a1 | |
| parent | 5e19b71eca9a9333c3de5434b832cde85b1d0f1a (diff) | |
fix rt_size_t as rt_uint32_t
| -rw-r--r-- | include/rtdef.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index a324eea122..eb9381e71f 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -78,8 +78,8 @@ typedef unsigned long rt_uint64_t; /**< 64bit unsigned inte #else typedef signed long long rt_int64_t; /**< 64bit integer type */ typedef unsigned long long rt_uint64_t; /**< 64bit unsigned integer type */ -#endif -#endif +#endif /* ARCH_CPU_64BIT */ +#endif /* RT_USING_ARCH_DATA_TYPE */ typedef int rt_bool_t; /**< boolean type */ typedef long rt_base_t; /**< Nbit CPU related date type */ @@ -89,7 +89,7 @@ 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_tick_t; /**< Type for tick count */ typedef rt_base_t rt_flag_t; /**< Type for flags */ -typedef rt_ubase_t rt_size_t; /**< Type for size number */ +typedef rt_uint32_t rt_size_t; /**< Type for size number */ typedef rt_ubase_t rt_dev_t; /**< Type for device */ typedef rt_base_t rt_off_t; /**< Type for offset */ |
