summaryrefslogtreecommitdiff
path: root/libattr
diff options
context:
space:
mode:
Diffstat (limited to 'libattr')
-rw-r--r--libattr/libattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libattr/libattr.c b/libattr/libattr.c
index 969c9f0..a77dd84 100644
--- a/libattr/libattr.c
+++ b/libattr/libattr.c
@@ -271,7 +271,7 @@ attr_list(const char *path, char *buffer, const int buffersize, int flags,
int length, vlength, count = 0;
char lbuf[MAXLISTLEN];
char name[MAXNAMELEN+16];
- unsigned int start_offset, end_offset;
+ int start_offset, end_offset;
if (buffersize < sizeof(attrlist_t)) {
errno = EINVAL;
@@ -317,7 +317,7 @@ attr_listf(int fd, char *buffer, const int buffersize, int flags,
int length, vlength, count = 0;
char lbuf[MAXLISTLEN];
char name[MAXNAMELEN+16];
- unsigned int start_offset, end_offset;
+ int start_offset, end_offset;
if (buffersize < sizeof(attrlist_t)) {
errno = EINVAL;