Use idx_t, not size_t, for xattr value lengths.

* src/tar.h (struct xattr_map):
* src/xattrs.c (xattr_map_add): Prefer idx_t to size_t.  All uses
changed.
This commit is contained in:
Paul Eggert
2024-08-12 17:39:21 -07:00
parent 09aec02e32
commit ef290cb171
3 changed files with 6 additions and 6 deletions

View File

@@ -915,7 +915,7 @@ void xattr_map_init (struct xattr_map *map);
void xattr_map_copy (struct xattr_map *dst,
const struct xattr_map *src);
void xattr_map_add (struct xattr_map *map,
const char *key, const char *val, size_t len);
const char *key, const char *val, idx_t len);
void xattr_map_free (struct xattr_map *xattr_map);
/* Module system.c */