diff options
author | Moonchild <moonchild@palemoon.org> | 2020-08-28 09:43:24 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-08-30 11:58:49 +0000 |
commit | 868f0755ae5b821d8e0493653d24381e7b65f0e7 (patch) | |
tree | 16ed960cc510ef215b7a7dd28e69a24bd475bcfb /modules/libmar/src/mar_read.c | |
parent | 5ca8fbd41c5cd92423d74e1cf6fc56cba4fe9c89 (diff) | |
download | UXP-868f0755ae5b821d8e0493653d24381e7b65f0e7.tar UXP-868f0755ae5b821d8e0493653d24381e7b65f0e7.tar.gz UXP-868f0755ae5b821d8e0493653d24381e7b65f0e7.tar.lz UXP-868f0755ae5b821d8e0493653d24381e7b65f0e7.tar.xz UXP-868f0755ae5b821d8e0493653d24381e7b65f0e7.zip |
[misc/mar] Don't use a signed type for a length parameter.
Diffstat (limited to 'modules/libmar/src/mar_read.c')
-rw-r--r-- | modules/libmar/src/mar_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/libmar/src/mar_read.c b/modules/libmar/src/mar_read.c index 378eaea88..241d0c08e 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; |