Commit 8c5c506
testing/cachetest: fix compilation error for arm64
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 <[email protected]>1 parent a78a3a4 commit 8c5c506
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments