Menu

#25 [wxplotctrl] plotdata.cpp: sprintf format warning

CVS_HEAD
closed-accepted
None
5
2008-11-25
2008-11-24
No

A compiler warning is generated in the method
wxPlotData::LoadFile
where
wxString::Format(...%d...)
is used with a long integer in the argument list.

The attached patch uses %ld instead of %d.

Discussion

  • Peter Jansson

    Peter Jansson - 2008-11-24

    Patch to use %ld instead of %d.

     
  • Peter Jansson

    Peter Jansson - 2008-11-24
    • assigned_to: nobody --> jrl1
     
  • John Labenski

    John Labenski - 2008-11-25

    Fixed, thanks.

     
  • John Labenski

    John Labenski - 2008-11-25
    • status: open --> closed-accepted
     

Log in to post a comment.