X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsrc%2Fdebug.c;h=09e03f1e499f81a9476a6ce279af089803ed631e;hb=5903c6ff59527362e869fedb565c56935ce8dd68;hp=7a2e656323f9656a96c02c31394a21c6d30d24a6;hpb=55b583f6c31af475f329da97cd160a8ab2e8df8c;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/debug.c b/src/src/debug.c index 7a2e65632..09e03f1e4 100644 --- a/src/src/debug.c +++ b/src/src/debug.c @@ -191,7 +191,7 @@ if (debug_ptr == debug_buffer) t = timestamps_utc ? gmtime(&tmp) : localtime(&tmp); debug_ptr += sprintf(CS debug_ptr, LOGGING(millisec) ? "%02d:%02d:%02d.%03d " : "%02d:%02d:%02d ", - t->tm_hour, t->tm_min, t->tm_sec, now.tv_usec/1000); + t->tm_hour, t->tm_min, t->tm_sec, (int)(now.tv_usec/1000)); } DEBUG(D_pid)