mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-03 05:09:03 +00:00
fix compilation error:
cachetest_main.c:37:26: error: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Werror=format=]
37 | #define CACHETEST_PREFIX "CACHE Test: "
| ^~~~~~~~~~~~~~
cachetest_main.c:150:20: note: in expansion of macro 'CACHETEST_PREFIX'
150 | syslog(LOG_INFO, CACHETEST_PREFIX "waddr:%p, uncacheble addr start:%p,"
| ^~~~~~~~~~~~~~~~
cachetest_main.c:151:17: note: format string is defined here
151 | "size:%u\n", info->waddr,
| ~^
| |
| unsigned int
| %lu
Signed-off-by: raiden00pl <raiden00@railab.me>
|
||
|---|---|---|
| .. | ||
| cachetest_main.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||