diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-04-03 01:40:39 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-04-03 01:40:39 +0200 |
| commit | e4eb716d2688f5c2d4615d79ad5f4f1eb50a9343 (patch) | |
| tree | 5612056173478fecaad0a030195b6ed2f399df4d /trackerlogic.h | |
| parent | b20b0b89264e9d28ab873b8b1cc9ba73cdb58aeb (diff) | |
turn all int offsets into size_t
Diffstat (limited to 'trackerlogic.h')
| -rw-r--r-- | trackerlogic.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); | |||
| 194 | otherwise it is released in return_peers_for_torrent */ | 194 | otherwise it is released in return_peers_for_torrent */ |
| 195 | size_t add_peer_to_torrent_and_return_peers(PROTO_FLAG proto, struct ot_workstruct *ws, size_t amount); | 195 | size_t add_peer_to_torrent_and_return_peers(PROTO_FLAG proto, struct ot_workstruct *ws, size_t amount); |
| 196 | size_t remove_peer_from_torrent(PROTO_FLAG proto, struct ot_workstruct *ws); | 196 | size_t remove_peer_from_torrent(PROTO_FLAG proto, struct ot_workstruct *ws); |
| 197 | size_t return_tcp_scrape_for_torrent(ot_hash const *hash_list, int amount, char *reply); | 197 | size_t return_tcp_scrape_for_torrent(ot_hash const *hash_list, size_t amount, char *reply); |
| 198 | size_t return_udp_scrape_for_torrent(ot_hash const hash, char *reply); | 198 | size_t return_udp_scrape_for_torrent(ot_hash const hash, char *reply); |
| 199 | void add_torrent_from_saved_state(ot_hash const hash, ot_time base, size_t down_count); | 199 | void add_torrent_from_saved_state(ot_hash const hash, ot_time base, size_t down_count); |
| 200 | #ifdef _DEBUG_RANDOMTORRENTS | 200 | #ifdef _DEBUG_RANDOMTORRENTS |
