From 3e24404d7e173fb53d89e606882f1e488b9a5c62 Mon Sep 17 00:00:00 2001 From: toyg Date: Wed, 8 Jan 2014 09:34:35 +0000 Subject: [PATCH] Fixed warning for snprintf call --- libtorrent/src/alert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtorrent/src/alert.cpp b/libtorrent/src/alert.cpp index a08094c0..1d343994 100644 --- a/libtorrent/src/alert.cpp +++ b/libtorrent/src/alert.cpp @@ -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; }