mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-20 22:27:31 +09:00
[misc/mar] Don't use a signed type for a length parameter.
This commit is contained in:
parent
f0f7b56d77
commit
2e6ec48b81
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue