summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/metaentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/metaentry.c b/src/metaentry.c
index 2f850fd..2e2d7a4 100644
--- a/src/metaentry.c
+++ b/src/metaentry.c
@@ -500,7 +500,7 @@ mentries_fromfile(struct metahash **mhash, const char *path)
}
mentry->xattr_names = xmalloc(mentry->xattrs * sizeof(char *));
- mentry->xattr_lvalues = xmalloc(mentry->xattrs * sizeof(int));
+ mentry->xattr_lvalues = xmalloc(mentry->xattrs * sizeof(ssize_t));
mentry->xattr_values = xmalloc(mentry->xattrs * sizeof(char *));
for (i = 0; i < mentry->xattrs; i++) {