minor fixes
This commit is contained in:
parent
7b1a441aeb
commit
64b599598c
3
Jamfile
3
Jamfile
|
@ -570,9 +570,6 @@ lib torrent
|
||||||
<conditional>@building
|
<conditional>@building
|
||||||
<boost>system:<cxxflags>$(CXXFLAGS)
|
<boost>system:<cxxflags>$(CXXFLAGS)
|
||||||
|
|
||||||
# tell asio to export its symbols
|
|
||||||
<link>shared:<define>BOOST_ASIO_SOURCE
|
|
||||||
|
|
||||||
$(usage-requirements)
|
$(usage-requirements)
|
||||||
|
|
||||||
: # default build
|
: # default build
|
||||||
|
|
|
@ -99,7 +99,7 @@ void test_transfer(boost::intrusive_ptr<torrent_info> torrent_file
|
||||||
cache_status cs;
|
cache_status cs;
|
||||||
|
|
||||||
file_storage const& fs = torrent_file->files();
|
file_storage const& fs = torrent_file->files();
|
||||||
uint pad_file_size = 0;
|
int pad_file_size = 0;
|
||||||
for (int i = 0; i < fs.num_files(); ++i)
|
for (int i = 0; i < fs.num_files(); ++i)
|
||||||
{
|
{
|
||||||
file_entry f = fs.at(i);
|
file_entry f = fs.at(i);
|
||||||
|
|
Loading…
Reference in New Issue