Fix lots of warnings reported by Clang.
Mostly potentially lossy implicit conversions in headers (long->int). Also dangling else warnings. Struct/class mismatches. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8778519200
commit
17473a770a
23 changed files with 69 additions and 68 deletions
|
|
@ -1067,7 +1067,7 @@ inline wxULongLong operator+(unsigned long l, const wxULongLong& ull) { return u
|
|||
inline wxLongLong operator-(unsigned long l, const wxULongLong& ull)
|
||||
{
|
||||
wxULongLong ret = wxULongLong(l) - ull;
|
||||
return wxLongLong((long)ret.GetHi(),ret.GetLo());
|
||||
return wxLongLong((wxInt32)ret.GetHi(),ret.GetLo());
|
||||
}
|
||||
|
||||
#if wxUSE_LONGLONG_NATIVE && wxUSE_STREAMS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue