From: Wayne Davison Date: Tue, 21 Nov 2006 08:36:06 +0000 (+0000) Subject: Explicitly cast the tag value in read_msg_fd() to an enum. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/54b0dfa0f7344fb8db25ef7ba118f7e9e0f9d83d Explicitly cast the tag value in read_msg_fd() to an enum. --- diff --git a/io.c b/io.c index 02511764..fc2ec290 100644 --- a/io.c +++ b/io.c @@ -297,7 +297,7 @@ static void read_msg_fd(void) if (n >= sizeof buf) n = sizeof buf - 1; read_loop(fd, buf, n); - rwrite(tag, buf, n); + rwrite((enum logcode)tag, buf, n); len -= n; } break;