[games/chessament] src: Fix clangd warning

Manuel Alcaraz Zambrano <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 38f458001516fd00ad277140963ebc00647bdef6 by Manuel Alcaraz Zambrano.
Committed on 03/08/2026 at 10:52.
Pushed by manuelal into branch 'master'.

Fix clangd warning

M  +1    -1    src/ratinglistmodel.cpp

https://invent.kde.org/games/chessament/-/commit/38f458001516fd00ad277140963ebc00647bdef6

diff --git a/src/ratinglistmodel.cpp b/src/ratinglistmodel.cpp
index 7e31510..b142840 100644
--- a/src/ratinglistmodel.cpp
+++ b/src/ratinglistmodel.cpp
@@ -17,7 +17,7 @@ int RatingListModel::rowCount(const QModelIndex &parent) const
 {
     Q_UNUSED(parent);
 
-    return m_lists.size();
+    return static_cast<int>(m_lists.size());
 }
 
 QVariant RatingListModel::data(const QModelIndex &index, int role) const
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.