removed most warnings on msvc.

reimplemented piece_manager::check_pieces to take care of all possible cases of the storage state.
This commit is contained in:
Arvid Norberg
2004-01-25 18:18:36 +00:00
parent 718f01155f
commit 0dbbc18186
30 changed files with 857 additions and 249 deletions

View File

@@ -718,14 +718,15 @@ fields::
address ip;
float up_speed;
float down_speed;
unsigned int total_download;
unsigned int total_upload;
size_type total_download;
size_type total_upload;
peer_id id;
std::vector<bool> pieces;
int upload_limit;
int upload_ceiling;
int load_balancing;
size_type load_balancing;
int download_queue_length;
int upload_queue_length;