[RTEMS Project] #2411: dumpbuf.c compiles with warnings

RTEMS trac trac at rtems.org
Thu Sep 3 21:09:14 UTC 2015


#2411: dumpbuf.c compiles with warnings
---------------------------+----------------------------------------------
 Reporter:  martin.galvan  |       Owner:  Martin Galvan <martin.galvan@…>
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:  4.11.1
Component:  General        |     Version:  4.10
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |
---------------------------+----------------------------------------------
Changes (by Martin Galvan <martin.galvan@…>):

 * owner:   => Martin Galvan <martin.galvan@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41b5c915e3b494a30bf73f82b03a77bc04388b29/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="41b5c915e3b494a30bf73f82b03a77bc04388b29"
 cpukit/libmisc/dumpbuf/dumpbuf.c: Fix compilation warnings

 Compiling dumpbuf.c causes the following warning to be issued:

 warning: pointer targets in passing argument 1 of 'snprintf' differ in
 signedness [-Wpointer-sign]

 This happens because line_buffer is declared as unsigned.

 Closes #2411.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2411#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list