瀏覽代碼

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

Make them long long instead.
master
Richard Nyberg 18 年之前
父節點
當前提交
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;


Loading…
取消
儲存