This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 819eeefc60c9ce557612818ead41b8542303a819 Author: Xiang Xiao <[email protected]> AuthorDate: Fri Nov 4 18:08:42 2022 +0800 Fix chip/lc823450_sdc.c:282:33: error: format specifies type 'long' but the argument has type 'uint32_t' (aka 'unsigned int') Signed-off-by: Xiang Xiao <[email protected]> --- arch/arm/src/lc823450/lc823450_sdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/lc823450/lc823450_sdc.c b/arch/arm/src/lc823450/lc823450_sdc.c index 81238c20a8..7396903e02 100644 --- a/arch/arm/src/lc823450/lc823450_sdc.c +++ b/arch/arm/src/lc823450/lc823450_sdc.c @@ -279,7 +279,7 @@ int lc823450_sdc_finalize(uint32_t ch) { int ret; - mcinfo("++++ start ch=%ld\n", ch); + mcinfo("++++ start ch=%" PRId32 "\n", ch); ret = nxmutex_lock(&_sdc_lock[ch]); if (ret >= 0) @@ -331,8 +331,8 @@ int lc823450_sdc_setclock(uint32_t ch, uint32_t limitclk, uint32_t sysclk) { int ret; - mcinfo("++++ start ch=%ld limitClk=%ld sysClk=%ld\n", - ch, limitclk, sysclk); + mcinfo("++++ start ch=%" PRId32 " limitClk=%" PRId32 + " sysClk=%" PRId32 "\n", ch, limitclk, sysclk); ret = nxmutex_lock(&_sdc_lock[ch]); if (ret >= 0)
