]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
acl: Fix compiler warning with -Wstrict-bool
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Sun, 8 Oct 2017 22:22:47 +0000 (01:22 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 9 Oct 2017 12:50:24 +0000 (15:50 +0300)
src/plugins/acl/acl-backend-vfile.c

index e6fcc9408a58ee38db0cf7203f2f92ec5cecaee9..133eceb35ad828f2eb054342e59f1e24e010e86c 100644 (file)
@@ -456,7 +456,7 @@ acl_backend_vfile_read_with_retry(struct acl_object *aclobj,
        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)