summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index e15f68f35..057feb8d7 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -92,7 +92,7 @@ ChatWindow::ChatWindow() :
mItemLinkHandler(new ItemLinkHandler),
mChatTabs(CREATEWIDGETR(TabbedArea, this)),
mChatInput(new ChatInput(this)),
- mRainbowColor(0),
+ mRainbowColor(0U),
mWhispers(),
mChannels(),
mHistory(),
@@ -1307,8 +1307,8 @@ void ChatWindow::postConnection()
else if (ch > 0xc0 || ch < 0x80) \
{ \
newMsg += "##" + toString(fun) + msg.at(f); \
- if (mRainbowColor > 9) \
- mRainbowColor = 0; \
+ if (mRainbowColor > 9U) \
+ mRainbowColor = 0U; \
} \
else \
{ \