Sfoglia il codice sorgente

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

Make them long long instead.
master
Richard Nyberg 19 anni fa
parent
commit
d08a4c991d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      btpd/net_types.h

+ 1
- 1
btpd/net_types.h Vedi File

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


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


unsigned npeers; unsigned npeers;
struct peer_tq peers; struct peer_tq peers;


Loading…
Annulla
Salva