You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/03 12:08:43 UTC

[GitHub] [incubator-nuttx] anchao opened a new pull request, #6774: drivers/rc: fix compile warning

anchao opened a new pull request, #6774:
URL: https://github.com/apache/incubator-nuttx/pull/6774

   ## Summary
   
   drivers/rc: fix compile warning
   
   In file included from /home/archer/code/nuttx/n4/incubator-nuttx/drivers/rc/lirc_dev.c:29:
   drivers/rc/lirc_dev.c: In function 'lirc_raw_event':
   drivers/rc/lirc_dev.c:959:14: warning: format '%u' expects argument of type 'unsigned int',
                                 but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
     959 |       rcinfo("delivering %uus %d to lirc\n", ev.duration, ev.pulse ? 1 : 0);
         |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~
         |                                                |
         |                                                uint32_t {aka long unsigned int}
   drivers/rc/lirc_dev.c:959:27: note: format string is defined here
     959 |       rcinfo("delivering %uus %d to lirc\n", ev.duration, ev.pulse ? 1 : 0);
         |                          ~^
         |                           |
         |                           unsigned int
         |                          %lu
   
   Signed-off-by: chao.an <an...@xiaomi.com>
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ci check


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6774: drivers/rc: fix compile warning

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #6774:
URL: https://github.com/apache/incubator-nuttx/pull/6774


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org