Fix cdcncm printf formatter compiler warning

This commit is contained in:
Tim Hardisty 2024-10-24 14:08:14 +01:00 committed by Xiang Xiao
parent 974db76cb9
commit bc0f90659f
1 changed files with 1 additions and 1 deletions

View File

@ -1073,7 +1073,7 @@ static void cdcncm_receive(FAR struct cdcncm_driver_s *self)
if ((ndplen < opts->ndpsize + 2 * (opts->dgramitemlen * 2)) || if ((ndplen < opts->ndpsize + 2 * (opts->dgramitemlen * 2)) ||
(ndplen % opts->ndpalign != 0)) (ndplen % opts->ndpalign != 0))
{ {
uerr("Bad NDP length: %x\n", ndplen); uerr("Bad NDP length: %04" PRIx32 " \n", ndplen);
return; return;
} }