From: SourceForge.net <no...@so...> - 2009-05-06 07:06:14
|
Patches item #2787693, was opened at 2009-05-06 09:06 Message generated for change (Tracker Item Submitted) made by jansson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462818&aid=2787693&group_id=51305 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: CVS HEAD Status: Open Resolution: None Priority: 5 Private: No Submitted By: Peter Jansson (jansson) Assigned to: Nobody/Anonymous (nobody) Summary: [wxPlotCtrl] plotdraw.cpp: Warning on double -> int cast. Initial Comment: On lines 1171 and 1173 in /cvsroot/wxcode/wxCode/components/wxplotctrl/src/plotdraw.cpp my compiler complains that double returned values from the call to floor are converted to int. I attach a patch with an explicit static_cast<int> applied on the returned values. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=462818&aid=2787693&group_id=51305 |