Make BOOL unsigned; fix resulting latent bugs
[exim.git] / src / src / exim_lock.c
index 4b2209b05d5d7f6ad020d71b186e49a7663d543d..541e80f3f2a25bf4d6a2fdbcae5ef1f4a99124ea 100644 (file)
@@ -9,6 +9,8 @@ Options:  -fcntl    use fcntl() lock
 Default is -fcntl -lockfile.
 
 Argument: the name of the lock file
+
+Copyright (c) The Exim Maintainers 2016
 */
 
 #include "os.h"
@@ -36,7 +38,7 @@ in sys/file.h. */
 #endif
 
 
-typedef int BOOL;
+typedef unsigned BOOL;
 #define FALSE 0
 #define TRUE  1