]> git.marmaro.de Git - mmh/blobdiff - uip/burst.c
Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / burst.c
index fa3ac73ccc8f82d47cd646665ea1a7174bb1269f..89aeac26b55a47c8df46cd90ae9763639b49cf9d 100644 (file)
@@ -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;
 
     /*