Fixed warning for snprintf call

This commit is contained in:
toyg 2014-01-08 09:34:35 +00:00
parent 8e80324c36
commit 3e24404d7e

View File

@ -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;
} }