mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
[misc/mar] Don't use a signed type for a length parameter.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user