summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2022-03-20 20:49:07 +0100
committerTim Rühsen <tim.ruehsen@gmx.de>2022-03-20 20:49:07 +0100
commit565f566fab57a84a21671da8f67119873e6d2ce1 (patch)
treec41faacd8f0a232d454609f4ed30688b73bdb8da
parentc7e6e378e5e90b853edcda0f11f99843cc4f615e (diff)
downloadwget-565f566fab57a84a21671da8f67119873e6d2ce1.tar.gz
* src/warc.c (warc_process_cdx_line): Fix variable type to idx_t
-rw-r--r--src/warc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/warc.c b/src/warc.c
index 04c34095..c545da8c 100644
--- a/src/warc.c
+++ b/src/warc.c
@@ -1026,7 +1026,7 @@ warc_process_cdx_line (char *lineptr, int field_num_original_url,
/* For some extra efficiency, we decode the base32 encoded
checksum value. This should produce exactly SHA1_DIGEST_SIZE
bytes. */
- size_t checksum_l;
+ idx_t checksum_l;
char * checksum_v;
base32_decode_alloc (checksum, strlen (checksum), &checksum_v,
&checksum_l);