From d08a4c991d85537f954f1e9612f02ee1d57e1a37 Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Thu, 9 Feb 2006 20:36:37 +0000 Subject: There's no need for exactly 64 bits for the upload and download count. Make them long long instead. --- btpd/net_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btpd/net_types.h b/btpd/net_types.h index 6b17bac..58b1e8e 100644 --- a/btpd/net_types.h +++ b/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; -- cgit 1.4.1