X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fburst.c;h=89aeac26b55a47c8df46cd90ae9763639b49cf9d;hb=9ac724c1df34e9dd56e2e35566b0cf81a491e8e6;hp=fa3ac73ccc8f82d47cd646665ea1a7174bb1269f;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b;p=mmh diff --git a/uip/burst.c b/uip/burst.c index fa3ac73..89aeac2 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -267,7 +267,8 @@ burst (struct msgs **mpp, int msgnum, struct smsg *smsgs, int numburst, if ((in = fopen (msgnam = m_name (msgnum), "r")) == NULL) adios (msgnam, "unable to read message"); - mode = fstat (fileno(in), &st) != NOTOK ? (st.st_mode & 0777) : m_gmprot(); + mode = + fstat (fileno(in), &st) != NOTOK ? (int) (st.st_mode & 0777) : m_gmprot(); mp = *mpp; /*