The tag char doesn't need to be unsigned.
authorWayne Davison <wayned@samba.org>
Mon, 13 Mar 2006 21:50:55 +0000 (21:50 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 13 Mar 2006 21:50:55 +0000 (21:50 +0000)
acls.diff

index 1c6fa10..8373667 100644 (file)
--- a/acls.diff
+++ b/acls.diff
@@ -365,7 +365,7 @@ the file that does not need any other attribute updates.
 + * lowercase in this instance means there's no ACL following, so the
 + * ACL is a repeat, so the receiver should reuse the last of the same
 + * type ACL. */
-+static void send_ida_list(int f, const ida_list *idal, uchar tag_char)
++static void send_ida_list(int f, const ida_list *idal, char tag_char)
 +{
 +      id_access *ida;
 +      size_t count = idal->count;
@@ -742,7 +742,7 @@ the file that does not need any other attribute updates.
 +              return;
 +
 +      while (count--) {
-+              uchar tag = read_byte(f);
++              char tag = read_byte(f);
 +              uchar access = read_byte(f);
 +              if (access & ~ (4 | 2 | 1)) {
 +                      rprintf(FERROR, "receive_rsync_acl: bogus permset %o\n",
@@ -832,7 +832,7 @@ the file that does not need any other attribute updates.
 +      do {
 +              file_acl_index_list *fileaclidx_list =
 +                      file_acl_index_lists(type);
-+              uchar tag;
++              char tag;
 +              expand_file_acl_index_list(fileaclidx_list);
 +
 +              tag = read_byte(f);