changeset 22583:21c8f6efa1e3

acl: Fix compiler warning with -Wstrict-bool
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 09 Oct 2017 01:22:47 +0300
parents 954ccfeef2f4
children 51b74dbe1ce9
files src/plugins/acl/acl-backend-vfile.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/acl/acl-backend-vfile.c	Fri Oct 06 16:55:28 2017 +0300
+++ b/src/plugins/acl/acl-backend-vfile.c	Mon Oct 09 01:22:47 2017 +0300
@@ -456,7 +456,7 @@
 	return ret <= 0 ? -1 : 0;
 }
 
-static int
+static bool
 acl_vfile_validity_has_changed(struct acl_backend_vfile *backend,
 			       const struct acl_vfile_validity *validity,
 			       const struct stat *st)