summaryrefslogtreecommitdiff
path: root/lib/param/loadparm_server_role.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/param/loadparm_server_role.c')
-rw-r--r--lib/param/loadparm_server_role.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/param/loadparm_server_role.c b/lib/param/loadparm_server_role.c
index 06c4421723..36551593a8 100644
--- a/lib/param/loadparm_server_role.c
+++ b/lib/param/loadparm_server_role.c
@@ -58,7 +58,7 @@ const char* server_role_str(uint32_t role)
/**
* Set the server role based on security, domain logons and domain master
*/
-int lp_find_server_role(int server_role, int security, bool domain_logons, bool domain_master)
+int lp_find_server_role(int server_role, int security, int domain_logons, int domain_master)
{
int role;