Просмотр исходного кода

There's no need for exactly 64 bits for the upload and download count.

Make them long long instead.
master
Richard Nyberg 18 лет назад
Родитель
Сommit
d08a4c991d
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      btpd/net_types.h

+ 1
- 1
btpd/net_types.h Просмотреть файл

@@ -17,8 +17,8 @@ struct net {
unsigned *piece_count;
struct piece_tq getlst;

uint64_t uploaded, downloaded;
unsigned long rate_up, rate_dwn;
unsigned long long uploaded, downloaded;

unsigned npeers;
struct peer_tq peers;


Загрузка…
Отмена
Сохранить