]> code.citadel.org Git - citadel.git/blobdiff - citadel/rcit.c
fixed time_t handling (have to cast it to long for printf/scanf)
[citadel.git] / citadel / rcit.c
index 34a66ce97b9fcf5a6230ca3ccd49c6eace2531c5..81dec46fa121b2e0909ce26ad7e36e6535e56dd4 100644 (file)
@@ -200,7 +200,7 @@ C:  if ((author[0]==0)||(room[0]==0)||(node[0]==0)) goto ABORT;
 
        fprintf(mout,"I%ld",mid); putc(0,mout);
        fprintf(mout,"P%s",path); putc(0,mout);
-       fprintf(mout,"T%ld",now); putc(0,mout);
+       fprintf(mout,"T%ld",(long)now); putc(0,mout);
        fprintf(mout,"A%s",author); putc(0,mout);
        strcpy(ccc,room);
        rnewsxref(room,ccc);