X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fanno.c;h=b1d866785536936a6a913baedcde5e1d6642c905;hp=d03c99cc06d512701dcc5c7b917881d4b94d07b9;hb=d5b5e6e4813b7fd77dc1664df4304537f3002cf3;hpb=9e6d91313f01c96b4058d6bf419a8ca9a207bc33 diff --git a/uip/anno.c b/uip/anno.c index d03c99c..b1d8667 100644 --- a/uip/anno.c +++ b/uip/anno.c @@ -429,7 +429,7 @@ annosbr(int fd, char *file, char *comp, char *text, int datesw, int delete, int length; int n; /* number of bytes written */ - mode = fstat(fd, &st) != NOTOK ? (st.st_mode & 0777) : m_gmprot(); + mode = fstat(fd, &st) != NOTOK ? (int)(st.st_mode & 0777) : m_gmprot(); strncpy(tmpfil, m_mktemp2(file, "annotate", NULL, &tmp), sizeof(tmpfil));