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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index a33bb4ec8..560826d79 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -883,7 +883,7 @@ void ChatWindow::keyPressed(KeyEvent &event)
const ChatTab *const tab = getFocused();
if ((tab != nullptr) && tab->hasRows())
{
- if (mChatHistoryIndex == 0u)
+ if (mChatHistoryIndex == 0U)
{
mChatHistoryIndex = CAST_U32(
tab->getRows().size());