From 0ff8ed35b9f60cd5761c21325d0d0126214a69fc Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 20 Jan 2017 20:10:07 +0100 Subject: [PATCH] [Companion] clang warning fixed --- companion/src/mdichild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/mdichild.cpp b/companion/src/mdichild.cpp index 8098f2ca7..ce7bdd5a7 100644 --- a/companion/src/mdichild.cpp +++ b/companion/src/mdichild.cpp @@ -202,7 +202,7 @@ void MdiChild::doCopy(QByteArray * gmData) { foreach(QModelIndex index, ui->modelsList->selectionModel()->selectedIndexes()) { if (index.column() == 0) { - unsigned int modelIndex = modelsListModel->getModelIndex(index); + int modelIndex = modelsListModel->getModelIndex(index); if (modelIndex >= 0) { gmData->append('M'); gmData->append((char *) &radioData.models[modelIndex], sizeof(ModelData));