mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 14:28:22 +00:00
Merge pull request #43 from toyg/libtorrent_build_warning_fix
Fixed warning for snprintf call
This commit is contained in:
commit
6328df818f
@ -354,7 +354,7 @@ namespace libtorrent {
|
|||||||
std::string dht_reply_data_alert::message() const
|
std::string dht_reply_data_alert::message() const
|
||||||
{
|
{
|
||||||
char msg[200];
|
char msg[200];
|
||||||
snprintf(msg, sizeof(msg), "reply to dht getData received %d entries", m_lst.size());
|
snprintf(msg, sizeof(msg), "reply to dht getData received %lu entries", m_lst.size());
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user