mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 12:34:24 +00:00
Fixed warning for snprintf call
This commit is contained in:
parent
8e80324c36
commit
3e24404d7e
@ -354,7 +354,7 @@ namespace libtorrent {
|
||||
std::string dht_reply_data_alert::message() const
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user