Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / burst.c
index fdc78f4..d0d06b6 100644 (file)
@@ -260,7 +260,7 @@ burst(struct msgs **mpp, int msgnum, struct smsg *smsgs, int numburst,
                adios(msgnam, "unable to read message");
 
        mode = fstat(fileno(in), &st) != NOTOK ?
-                       (st.st_mode & 0777) : m_gmprot();
+                       (int)(st.st_mode & 0777) : m_gmprot();
        mp = *mpp;
 
        /*