From 868f0755ae5b821d8e0493653d24381e7b65f0e7 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 28 Aug 2020 09:43:24 +0000 Subject: [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 378eaea882..241d0c08e4 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; -- cgit v1.2.3