From e17e4b71c29e0a72473abac605a2198fcac4e535 Mon Sep 17 00:00:00 2001 From: Fedor Date: Wed, 9 Sep 2020 17:29:51 +0300 Subject: [PATCH] [misc/mar] Don't use a signed type for a length parameter. --- modules/libmar/src/mar_read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libmar/src/mar_read.c b/modules/libmar/src/mar_read.c index 378eaea88..241d0c08e 100644 --- a/modules/libmar/src/mar_read.c +++ b/modules/libmar/src/mar_read.c @@ -29,7 +29,7 @@ static uint32_t mar_hash_name(const char *name) { return val % TABLESIZE; } -static int mar_insert_item(MarFile *mar, const char *name, int namelen, +static int mar_insert_item(MarFile *mar, const char *name, uint32_t namelen, uint32_t offset, uint32_t length, uint32_t flags) { MarItem *item, *root; uint32_t hash;