forked from pool/libtorrent-rasterbar
12 lines
339 B
Diff
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)
|