Mercurial > dovecot > core-2.2
changeset 3591:69f731759776 HEAD
compiler warning fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 18 Sep 2005 20:31:41 +0300 |
parents | 340e1b87c27b |
children | 5434d427df49 |
files | src/lib/file-dotlock.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/file-dotlock.c Sun Sep 18 20:31:34 2005 +0300 +++ b/src/lib/file-dotlock.c Sun Sep 18 20:31:41 2005 +0300 @@ -629,8 +629,8 @@ if (st.st_ino != st2.st_ino || !CMP_DEV_T(st.st_dev, st2.st_dev)) { i_warning("Our dotlock file %s was overridden " - "(kept it %u secs)", lock_path, - dotlock->lock_time - time(NULL)); + "(kept it %d secs)", lock_path, + (int)(dotlock->lock_time - time(NULL))); errno = EEXIST; file_dotlock_free(dotlock); return 0;