Skip to content

Commit e38ff2e

Browse files
txy-21xiaoxiang781216
authored andcommitted
tests: fix cache_test and arch_lib_test date style error
1 parent b67c0f4 commit e38ff2e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

testing/arch_libc/arch_libc_test_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ int arch_libc_strcpy_speed(void)
222222
}
223223
}
224224

225-
printf("strcpy total(run 25 times) cpu cycles %" PRIu32 "\n", cycles);
226-
printf("strcpy average cpu cycles %" PRIu32 "\n", cycles / 25);
225+
printf("strcpy total(run 25 times) cpu cycles %"PRIu64"\n", cycles);
226+
printf("strcpy average cpu cycles %"PRIu64"\n", cycles / 25);
227227

228228
return 0;
229229
}

testing/cachetest/cachetest_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static void cachetest_parse_commandline(int argc, FAR char **argv,
144144
}
145145

146146
syslog(LOG_INFO, CACHETEST_PREFIX "waddr:%p, uncacheble addr start:%p,"
147-
"size:%u\n", info->waddr,
147+
"size:%zu\n", info->waddr,
148148
(FAR char *)((uintptr_t)info->waddr | info->offset), info->size);
149149
}
150150

0 commit comments

Comments
 (0)