From aedd7e30cbadaed7f44af90174094ff868930cf3 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 7 Apr 2024 00:37:38 +0200 Subject: Silence warning on older compilers --- ot_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ot_http.c b/ot_http.c index 3f2fc5d..cc4a616 100644 --- a/ot_http.c +++ b/ot_http.c @@ -368,7 +368,7 @@ static ssize_t http_handle_scrape( const int64 sock, struct ot_workstruct *ws, c numwant = OT_MAXMULTISCRAPE_COUNT; /* Enough for http header + whole scrape string */ - ws->reply_size = return_tcp_scrape_for_torrent( multiscrape_buf, numwant, ws->reply ); + ws->reply_size = return_tcp_scrape_for_torrent( (const ot_hash*)multiscrape_buf, numwant, ws->reply ); stats_issue_event( EVENT_SCRAPE, FLAG_TCP, ws->reply_size ); return ws->reply_size; } -- cgit v1.2.3