summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-04-13 16:52:46 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-04-13 16:52:46 +0200
commit3a2a711a29cf1bd1a9180214607a1959aa555841 (patch)
tree5620ad640d022ea1073bb8544fe84c4e6f3e28e7 /ot_http.c
parentbd4992435ca8343cca0b34af13cf6da331a357f8 (diff)
Fix type warnings in debug strings
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index 66899b1..5b96e6f 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -185,7 +185,7 @@ fprintf(stderr, "http_sendiovecdata sending %d iovec entries found cookie->batch
185 for( i=0; i<iovec_entries; ++i ) { 185 for( i=0; i<iovec_entries; ++i ) {
186 /* If the current batch's limit is reached, try to reallocate a new batch to work on */ 186 /* If the current batch's limit is reached, try to reallocate a new batch to work on */
187 if( current->bytesleft > OT_BATCH_LIMIT ) { 187 if( current->bytesleft > OT_BATCH_LIMIT ) {
188fprintf(stderr, "http_sendiovecdata found batch above limit: %zd\n", current->bytesleft); 188fprintf(stderr, "http_sendiovecdata found batch above limit: %llu\n", current->bytesleft);
189 io_batch * new_batch = realloc( cookie->batch, (cookie->batches + 1) * sizeof(io_batch) ); 189 io_batch * new_batch = realloc( cookie->batch, (cookie->batches + 1) * sizeof(io_batch) );
190 if( new_batch ) { 190 if( new_batch ) {
191 cookie->batch = new_batch; 191 cookie->batch = new_batch;