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

RTEMS trac trac at rtems.org
Thu Sep 3 20:55:11 UTC 2015


#2411: dumpbuf.c compiles with warnings
---------------------------+--------------------
 Reporter:  martin.galvan  |      Owner:
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.11.1
Component:  General        |    Version:  4.10
 Severity:  normal         |   Keywords:
---------------------------+--------------------
 Compiling dumpbuf.c causes the following warning to be issued multiple
 times:

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

 This seems to happen because {{{line_buffer}}} is declared as
 {{{unsigned}}}.

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


More information about the bugs mailing list