examples/adc: fix printf warning

examples/adc: fix printf warning

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl 2025-03-28 13:56:41 +01:00 committed by Lup Yuen Lee
parent 1193a82fca
commit 4bca48431a

View file

@ -310,7 +310,7 @@ int main(int argc, FAR char *argv[])
if (nsamples * sizeof(struct adc_msg_s) != nbytes)
{
printf("adc_main: read size=%ld is not a multiple of "
"sample size=%d, Ignoring\n",
"sample size=%zu, Ignoring\n",
(long)nbytes, sizeof(struct adc_msg_s));
}
else