[misc/mar] Don't use a signed type for a length parameter.
parent
10961fb06d
commit
e17e4b71c2
|
@ -29,7 +29,7 @@ static uint32_t mar_hash_name(const char *name) {
|
||||||
return val % TABLESIZE;
|
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) {
|
uint32_t offset, uint32_t length, uint32_t flags) {
|
||||||
MarItem *item, *root;
|
MarItem *item, *root;
|
||||||
uint32_t hash;
|
uint32_t hash;
|
||||||
|
|
Loading…
Reference in New Issue