mirror of
git://erdgeist.org/opentracker
synced 2025-07-19 23:15:17 +02:00
Silence warning on older compilers
This commit is contained in:
parent
18554498c2
commit
aedd7e30cb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue