aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/ext2fs.h
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-10-03 13:26:02 +0200
committerRichard Braun <rbraun@sceen.net>2017-01-06 20:36:09 +0100
commit76266d8cd0db429093e144a67ef66a0a6532c799 (patch)
tree065731535e0339c52651c61e4cb0eb0bc21b8492 /ext2fs/ext2fs.h
parentea86767459e01e524c05190127ef1e71f5a47ff9 (diff)
downloadhurd-76266d8cd0db429093e144a67ef66a0a6532c799.tar.gz
hurd-76266d8cd0db429093e144a67ef66a0a6532c799.tar.bz2
hurd-76266d8cd0db429093e144a67ef66a0a6532c799.zip
ext2fs: Use correct type for sizes.
* ext2fs/ext2fs.h (ext2_{list,get,set}_xattr): Use 'size_t'. * ext2fs/xattr.c (xattr_entry_{list,get,create): Use 'size_t' where appropriate. (ext2_{list,get,set}_xattr): Likewise.
Diffstat (limited to 'ext2fs/ext2fs.h')
-rw-r--r--ext2fs/ext2fs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index 76adf632..2ee97fd0 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -582,9 +582,9 @@ extern void ext2_warning (const char *, ...)
/* ---------------------------------------------------------------- */
/* xattr.c */
-error_t ext2_list_xattr (struct node *np, char *buffer, int *len);
-error_t ext2_get_xattr (struct node *np, const char *name, char *value, int *len);
-error_t ext2_set_xattr (struct node *np, const char *name, const char *value, int len, int flags);
+error_t ext2_list_xattr (struct node *np, char *buffer, size_t *len);
+error_t ext2_get_xattr (struct node *np, const char *name, char *value, size_t *len);
+error_t ext2_set_xattr (struct node *np, const char *name, const char *value, size_t len, int flags);
error_t ext2_free_xattr_block (struct node *np);
#endif