[dovecot-cvs] dovecot/src/lib file-dotlock.c,1.27,1.28

cras at dovecot.org cras at dovecot.org
Sun Sep 18 20:31:44 EEST 2005


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv3855/src/lib

Modified Files:
	file-dotlock.c 
Log Message:
compiler warning fix



Index: file-dotlock.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/file-dotlock.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- file-dotlock.c	16 Sep 2005 12:30:08 -0000	1.27
+++ file-dotlock.c	18 Sep 2005 17:31:41 -0000	1.28
@@ -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;



More information about the dovecot-cvs mailing list