summaryrefslogtreecommitdiff
path: root/ot_fullscrape.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-04-03 01:40:39 +0200
committerDirk Engling <erdgeist@erdgeist.org>2026-04-03 01:40:39 +0200
commite4eb716d2688f5c2d4615d79ad5f4f1eb50a9343 (patch)
tree5612056173478fecaad0a030195b6ed2f399df4d /ot_fullscrape.c
parentb20b0b89264e9d28ab873b8b1cc9ba73cdb58aeb (diff)
turn all int offsets into size_t
Diffstat (limited to 'ot_fullscrape.c')
-rw-r--r--ot_fullscrape.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ot_fullscrape.c b/ot_fullscrape.c
index 6fd6d1c..7a8cca6 100644
--- a/ot_fullscrape.c
+++ b/ot_fullscrape.c
@@ -149,8 +149,8 @@ static char * fullscrape_write_one( ot_tasktype mode, char *r, ot_torrent *torre
149} 149}
150 150
151static void fullscrape_make(int taskid, ot_tasktype mode) { 151static void fullscrape_make(int taskid, ot_tasktype mode) {
152 int bucket; 152 size_t bucket;
153 char *r, *re; 153 char *r, *re;
154 struct iovec iovector = {NULL, 0}; 154 struct iovec iovector = {NULL, 0};
155 155
156 /* Setup return vector... */ 156 /* Setup return vector... */
@@ -212,7 +212,7 @@ static void fullscrape_make(int taskid, ot_tasktype mode) {
212#ifdef WANT_COMPRESSION_GZIP 212#ifdef WANT_COMPRESSION_GZIP
213 213
214static void fullscrape_make_gzip(int taskid, ot_tasktype mode) { 214static void fullscrape_make_gzip(int taskid, ot_tasktype mode) {
215 int bucket; 215 size_t bucket;
216 char *r; 216 char *r;
217 struct iovec iovector = {NULL, 0}; 217 struct iovec iovector = {NULL, 0};
218 int zres; 218 int zres;