Use signed integer type for counters

This commit is contained in:
Chocobo1
2022-04-02 16:31:59 +08:00
parent bbd781c420
commit 2854630b1c
8 changed files with 51 additions and 56 deletions

View File

@@ -126,8 +126,8 @@ namespace
map[KEY_TRANSFER_DLRATELIMIT] = session->downloadSpeedLimit();
map[KEY_TRANSFER_UPRATELIMIT] = session->uploadSpeedLimit();
const quint64 atd = session->getAlltimeDL();
const quint64 atu = session->getAlltimeUL();
const qint64 atd = session->getAlltimeDL();
const qint64 atu = session->getAlltimeUL();
map[KEY_TRANSFER_ALLTIME_DL] = atd;
map[KEY_TRANSFER_ALLTIME_UL] = atu;
map[KEY_TRANSFER_TOTAL_WASTE_SESSION] = sessionStatus.totalWasted;