From e4eb716d2688f5c2d4615d79ad5f4f1eb50a9343 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 3 Apr 2026 01:40:39 +0200 Subject: turn all int offsets into size_t --- trackerlogic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trackerlogic.h') diff --git a/trackerlogic.h b/trackerlogic.h index 022184d..88d9a11 100644 --- a/trackerlogic.h +++ b/trackerlogic.h @@ -194,7 +194,7 @@ void exerr(char *message); otherwise it is released in return_peers_for_torrent */ size_t add_peer_to_torrent_and_return_peers(PROTO_FLAG proto, struct ot_workstruct *ws, size_t amount); size_t remove_peer_from_torrent(PROTO_FLAG proto, struct ot_workstruct *ws); -size_t return_tcp_scrape_for_torrent(ot_hash const *hash_list, int amount, char *reply); +size_t return_tcp_scrape_for_torrent(ot_hash const *hash_list, size_t amount, char *reply); size_t return_udp_scrape_for_torrent(ot_hash const hash, char *reply); void add_torrent_from_saved_state(ot_hash const hash, ot_time base, size_t down_count); #ifdef _DEBUG_RANDOMTORRENTS -- cgit v1.2.3