From 725ef52cfe37d912b4a2f194a1d98a3993d5fce3 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 21 Nov 2007 20:35:31 +0000 Subject: [PATCH] - Fixed compilation warning --- src/downloadingTorrents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/downloadingTorrents.cpp b/src/downloadingTorrents.cpp index a4902dfd1..43a114f65 100644 --- a/src/downloadingTorrents.cpp +++ b/src/downloadingTorrents.cpp @@ -341,7 +341,7 @@ void DownloadingTorrents::hideOrShowColumn(int index) { } for(int i=0; icolumnCount()-1; i++) { if(i != index) { - downloadList->setColumnWidth(i, floor(downloadList->columnWidth(i)-(downloadList->columnWidth(index)/(nbColumns-1)))); + downloadList->setColumnWidth(i, (int)floor(downloadList->columnWidth(i)-(downloadList->columnWidth(index)/(nbColumns-1)))); } } }