Skip to content

Commit

Permalink
Repair gcc11 build error in archive_read_support_format_warc.c
Browse files Browse the repository at this point in the history
Fixes #1462
  • Loading branch information
mmatuska committed Dec 4, 2020
1 parent f875947 commit 2256863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libarchive/archive_read_support_format_warc.c
Expand Up @@ -127,7 +127,7 @@ static int _warc_skip(struct archive_read *a);
static int _warc_rdhdr(struct archive_read *a, struct archive_entry *e);

/* private routines */
static unsigned int _warc_rdver(const char buf[10], size_t bsz);
static unsigned int _warc_rdver(const char *buf, size_t bsz);
static unsigned int _warc_rdtyp(const char *buf, size_t bsz);
static warc_string_t _warc_rduri(const char *buf, size_t bsz);
static ssize_t _warc_rdlen(const char *buf, size_t bsz);
Expand Down

0 comments on commit 2256863

Please sign in to comment.