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-Tag: v3.0.0pre1~560 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54b0dfa0f7344fb8db25ef7ba118f7e9e0f9d83d;p=thirdparty%2Frsync.git 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;