This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 544912695 examples/mtdpart:fix compiling warning in printf.
544912695 is described below
commit 5449126959467d1b961b044e498f0e206a22fd37
Author: 田昕 <[email protected]>
AuthorDate: Wed Aug 9 11:12:32 2023 +0800
examples/mtdpart:fix compiling warning in printf.
Signed-off-by: 田昕 <[email protected]>
---
examples/mtdpart/mtdpart_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/mtdpart/mtdpart_main.c b/examples/mtdpart/mtdpart_main.c
index fe5ad99d2..12f77e928 100644
--- a/examples/mtdpart/mtdpart_main.c
+++ b/examples/mtdpart/mtdpart_main.c
@@ -221,7 +221,7 @@ int main(int argc, FAR char *argv[])
partsize = nblocks * geo.blocksize;
printf(" No. partitions: %u\n", CONFIG_EXAMPLES_MTDPART_NPARTITIONS);
- printf(" Partition size: %ju Blocks (%lu bytes)\n", (uintmax_t)nblocks,
+ printf(" Partition size: %ju Blocks (%zu bytes)\n", (uintmax_t)nblocks,
partsize);
/* Now create MTD FLASH partitions */