mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-17 02:13:30 +00:00
fix build warning for kernel testsuites
Signed-off-by: vela-mib <vela-mib@xiaomi.com>
This commit is contained in:
parent
e2805fc9c4
commit
84e186c9d1
2 changed files with 3 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ void test_nuttx_fs_fsync02(FAR void **state)
|
|||
|
||||
bufsize = statfsbuf.f_bsize;
|
||||
|
||||
syslog(LOG_INFO, "the bsize = %ld\n", statfsbuf.f_bsize);
|
||||
syslog(LOG_INFO, "the bsize = %" PRIdPTR "\n", statfsbuf.f_bsize);
|
||||
|
||||
/* malloc memory */
|
||||
|
||||
|
|
|
|||
|
|
@ -123,7 +123,8 @@ void test_nuttx_clock_test_timer03(FAR void **state)
|
|||
/* 20000000, 2 ticks. */
|
||||
|
||||
failed += (escaped < expected || (escaped - expected) >= 20000000);
|
||||
syslog(LOG_INFO, "expected = %ld escaped = %ld failed = %d",
|
||||
syslog(LOG_INFO,
|
||||
"expected = %" PRId64 " escaped = %" PRId64 " failed = %d",
|
||||
expected, escaped, failed);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue