Commit 54b0dfa0 authored by Wayne Davison's avatar Wayne Davison

Explicitly cast the tag value in read_msg_fd() to an enum.

parent 26404276
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment