Explorar el Código

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

Make them long long instead.
master
Richard Nyberg hace 19 años
padre
commit
d08a4c991d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      btpd/net_types.h

+ 1
- 1
btpd/net_types.h Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar