Skip to content

Commit 4bca484

Browse files
raiden00pllupyuen
authored andcommitted
examples/adc: fix printf warning
examples/adc: fix printf warning Signed-off-by: raiden00pl <[email protected]>
1 parent 1193a82 commit 4bca484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/adc/adc_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ int main(int argc, FAR char *argv[])
310310
if (nsamples * sizeof(struct adc_msg_s) != nbytes)
311311
{
312312
printf("adc_main: read size=%ld is not a multiple of "
313-
"sample size=%d, Ignoring\n",
313+
"sample size=%zu, Ignoring\n",
314314
(long)nbytes, sizeof(struct adc_msg_s));
315315
}
316316
else

0 commit comments

Comments
 (0)