Avoid -Wdouble-promotion warnings
This commit is contained in:
parent
97655e5b21
commit
b5a554b9a6
44 changed files with 208 additions and 201 deletions
|
|
@ -544,7 +544,7 @@ void wxGraphicsGradientStops::Add(const wxGraphicsGradientStop& stop)
|
|||
}
|
||||
}
|
||||
|
||||
if ( stop.GetPosition() == 1. )
|
||||
if ( stop.GetPosition() == 1 )
|
||||
{
|
||||
m_stops.insert(m_stops.end() - 1, stop);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue