diff --git a/build_dist.sh b/build_dist.sh index bf4900180..43dc993c5 100755 --- a/build_dist.sh +++ b/build_dist.sh @@ -18,4 +18,5 @@ chmod a-x docs/*.rst docs/*.htm* src/*.cpp include/libtorrent/*.hpp ./autotool.sh ./configure --enable-python-binding --enable-examples=yes --enable-tests=yes --with-boost-system=mt --with-boost-python=mt --enable-tests -make V=1 -j8 dist check +make V=1 -j8 distcheck + diff --git a/include/libtorrent/aux_/session_impl.hpp b/include/libtorrent/aux_/session_impl.hpp index 64c12695e..18dab8b9b 100644 --- a/include/libtorrent/aux_/session_impl.hpp +++ b/include/libtorrent/aux_/session_impl.hpp @@ -901,7 +901,7 @@ namespace libtorrent void recalculate_optimistic_unchoke_slots(); ptime m_created; - int64_t session_time() const { return total_seconds(time_now() - m_created); } + boost::int64_t session_time() const { return total_seconds(time_now() - m_created); } ptime m_last_tick; ptime m_last_second_tick; diff --git a/src/bandwidth_manager.cpp b/src/bandwidth_manager.cpp index 6d9c34f3a..8ad2a7e3c 100644 --- a/src/bandwidth_manager.cpp +++ b/src/bandwidth_manager.cpp @@ -156,7 +156,7 @@ namespace libtorrent INVARIANT_CHECK; - int64_t dt_milliseconds = total_milliseconds(dt); + boost::int64_t dt_milliseconds = total_milliseconds(dt); if (dt_milliseconds > 3000) dt_milliseconds = 3000; // for each bandwidth channel, call update_quota(dt)