X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fsysdep.c;h=86534cf078d9b916d07e4b99f689996f825ce8a6;hb=1f79d7b9a6f60f331ea0c90e9eb4ef7c40ee7aa5;hp=f1c933f8e5dc6987dc605b177e3a1597a19d8c7e;hpb=393c54bc74b1ae9bc6bba28913daa98456d0b673;p=citadel.git diff --git a/citadel/sysdep.c b/citadel/sysdep.c index f1c933f8e..86534cf07 100644 --- a/citadel/sysdep.c +++ b/citadel/sysdep.c @@ -123,7 +123,7 @@ void lprintf(int loglevel, const char *format, ...) { fprintf(stderr, "%04d/%02d/%02d %2d:%02d:%02d.%03ld %s", tim->tm_year + 1900, tim->tm_mon + 1, tim->tm_mday, tim->tm_hour, tim->tm_min, tim->tm_sec, - tv.tv_usec / 1000, buf); + (long)tv.tv_usec / 1000, buf); fflush(stderr); }