diff options
-rw-r--r-- | doc/CHANGES | 3 | ||||
-rw-r--r-- | libattr/libattr.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/CHANGES b/doc/CHANGES index 8dcdc59..a2a612a 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,3 +1,6 @@ +attr-2.4.40 + - Address compilation warning about signedness in libattr.c + attr-2.4.39 (11 September 2007) - Fix symlink handling with getfattr, thanks to Utako Usaka. 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; |