mirror of
git://erdgeist.org/opentracker
synced 2025-02-04 11:06:42 +00:00
Silence warning on older compilers
This commit is contained in:
parent
18554498c2
commit
aedd7e30cb
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user