1
0
libtorrent-rasterbar/libtorrent-rasterbar-fix-build-boost-1.54.patch

12 lines
339 B
Diff

--- a/src/lsd.cpp
+++ b/src/lsd.cpp
@@ -87,7 +87,7 @@ lsd::lsd(io_service& ios, peer_callback_
, m_log_cb(log)
#endif
, m_broadcast_timer(ios)
- , m_cookie((random() ^ boost::uintptr_t(this)) & 0x7fffffff)
+ , m_cookie((random() ^ std::uintptr_t(this)) & 0x7fffffff)
, m_disabled(false)
#if TORRENT_USE_IPV6
, m_disabled6(false)