Change Message::Flags/Type cast to Int, not UInt
authorShane Synan <digitalcircuit36939@gmail.com>
Tue, 8 May 2018 23:24:38 +0000 (18:24 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 23 May 2018 22:33:28 +0000 (00:33 +0200)
Use toInt() for casting `Message::Flags` and `Message::Type`, instead
of toUint().

MSVC has trouble with uint-based enums, so Quassel switched to int
enums.  However, not all of the enum casts were converted, resulting
in needless unsigned-to-signed casting.

Thanks to @justJanne for reporting this.


No differences found