examples/keyboard: Fix compilation warning

Replace %d with %PRIu32 to avoid warning convered in error on CI.

Signed-off-by: Alan C. Assis <acassis@gmail.com>
This commit is contained in:
Alan Carvalho de Assis 2025-07-12 16:20:41 -03:00 committed by Lup Yuen Lee
parent dfeeef41ed
commit a7e4a2a30e

View file

@ -141,8 +141,8 @@ int main(int argc, FAR char *argv[])
else
{
printf("Sample :\n");
printf(" code : %d\n", sample.code);
printf(" type : %d\n", sample.type);
printf(" code : %" PRIu32 "\n", sample.code);
printf(" type : %" PRIu32 "\n", sample.type);
}
if (nsamples && --nsamples <= 0)