diff options
author | Tim Shimmin <tes@sgi.com> | 2007-10-26 16:07:24 +0000 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-10-26 16:07:24 +0000 |
commit | bc7a864c4e8db97d0f6a8c1e491e105208052440 (patch) | |
tree | 7a59a460cc9b6840d054050c118c7364fb22132a /libattr | |
parent | 338d2e92e858f76f54b05ef83ce5e4df8e71d5b8 (diff) | |
download | attr-bc7a864c4e8db97d0f6a8c1e491e105208052440.tar.gz |
Fix compilation warning. unsigned int -> int
Merge of master-melb:xfs-cmds:29967a by kenmcd.
Fix compilation warning. unsigned int -> int
Diffstat (limited to 'libattr')
-rw-r--r-- | libattr/libattr.c | 4 |
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; |