[misc/mar] Don't use a signed type for a length parameter.

This commit is contained in:
Fedor 2020-09-09 17:29:51 +03:00
parent 10961fb06d
commit e17e4b71c2
1 changed files with 1 additions and 1 deletions

View File

@ -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;