Cast the enum in rwrite() when calling send_msg().

This commit is contained in:
Wayne Davison committed 2006-05-03 16:58:36 +00:00
1 parent 3723548ded
commit f1c9bcd0fc
1 file changed
+1 -1
+1 -1
View File
@@ -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? */