Compiler quietening. Bug 907
[exim.git] / src / src / tod.c
index 9aa845c822b706596a3653ecd0450de460f7213a..427227c688eda6d10259bc48c94a8a9c9c537785 100644 (file)
@@ -59,7 +59,8 @@ if (type == tod_epoch_l)
   {
   struct timeval tv;
   gettimeofday(&tv, NULL);
-  (void) sprintf(CS timebuf, "%ld%06ld", tv.tv_sec, tv.tv_usec );  /* Unix epoch/usec format */
+  /* Unix epoch/usec format */
+  (void) sprintf(CS timebuf, "%ld%06ld", tv.tv_sec, (long) tv.tv_usec );
   return timebuf;
   }