[RTEMS Project] #2411: dumpbuf.c compiles with warnings
RTEMS trac
trac at rtems.org
Thu Sep 3 21:09:32 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: |
---------------------------+----------------------------------------------
Comment (by Martin Galvan <martin.galvan@…>):
In [changeset:"ccebc571d447537208d2a861aa2ff0cf339839a7/rtems"]:
{{{
#!CommitTicketReference repository="rtems"
revision="ccebc571d447537208d2a861aa2ff0cf339839a7"
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:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list