Fix implicit conversion loss warning in wx/math.h
This commit is contained in:
parent
5e57976bba
commit
23992c2e77
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@
|
|||
wxASSERT_MSG(x > (double)INT_MIN - 0.5 && x < (double)INT_MAX + 0.5,
|
||||
wxT("argument out of supported range"));
|
||||
|
||||
return std::lround(x);
|
||||
return (int)std::lround(x);
|
||||
}
|
||||
#else /* C++98 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue