commit c718ff52b3ac436c40f6519848bb86a1f5d7dd97 parent 17e8cfe7533bac039bb26f638764132ea432ecbc Author: sin <sin@2f30.org> Date: Sat, 26 Dec 2015 12:20:41 +0000 fix warning Diffstat:
M | tracker.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tracker.c b/tracker.c @@ -102,7 +102,7 @@ getpeers(struct torrent *t) if (!(curl = curl_easy_init())) return -1; - if (!(infohash = curl_easy_escape(curl, t->infohash, 20))) { + if (!(infohash = curl_easy_escape(curl, (char *)t->infohash, 20))) { curl_easy_cleanup(curl); return -1; }