Qt: Fix compiler warning on macOS

This commit is contained in:
Roland Knall 2022-06-22 17:52:15 +02:00
parent 1424e28c7d
commit 2e5b09f486
1 changed files with 1 additions and 1 deletions

View File

@ -759,7 +759,7 @@ conv_item_t * ConversationDataModel::itemForRow(int row)
bool ConversationDataModel::showConversationId(int row) const
{
if (!storage_ || row >= storage_->len)
if (!storage_ || row >= (int) storage_->len)
return false;
conv_item_t *conv_item = (conv_item_t *)&g_array_index(storage_, conv_item_t, row);