From: Wayne Davison Date: Wed, 3 May 2006 16:58:36 +0000 (+0000) Subject: Cast the enum in rwrite() when calling send_msg(). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f1c9bcd0fcaf72712de792c5f22b8b95d7f6291d Cast the enum in rwrite() when calling send_msg(). --- diff --git a/log.c b/log.c index 4abc3d5e..7fd37e42 100644 --- a/log.c +++ b/log.c @@ -256,7 +256,7 @@ void rwrite(enum logcode code, char *buf, int len) if (am_server) { /* Pass the message to the non-server side. */ - if (send_msg(code, buf, len)) + if (send_msg((enum msgcode)code, buf, len)) return; if (am_daemon) { /* TODO: can we send the error to the user somehow? */