From f34d021387b924ddfb9ba4aee024638be0c60493 Mon Sep 17 00:00:00 2001 From: sehraf Date: Sat, 8 Sep 2018 08:57:07 +0200 Subject: [PATCH] make rs use the new function --- retroshare-gui/src/gui/statusbar/discstatus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/statusbar/discstatus.cpp b/retroshare-gui/src/gui/statusbar/discstatus.cpp index a64528c0b..32ee8c777 100644 --- a/retroshare-gui/src/gui/statusbar/discstatus.cpp +++ b/retroshare-gui/src/gui/statusbar/discstatus.cpp @@ -66,10 +66,10 @@ void DiscStatus::update() return; } - unsigned int sendCount = 0; - unsigned int recvCount = 0; + size_t sendCount = 0; + size_t recvCount = 0; - rsDisc->getWaitingDiscCount(&sendCount, &recvCount); + rsDisc->getWaitingDiscCount(sendCount, recvCount); sendLabel->setText(QString::number(sendCount)); recvLabel->setText(QString::number(recvCount));