mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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:
parent
dfeeef41ed
commit
a7e4a2a30e
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue