From bade0ad9098153c26ec9a0f85e0a6e36b038b028 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 18 Jan 2006 21:41:24 +0000 Subject: r13018: Fix (correct) warning about mixing C/js interface function types. I don't use the arguments, but you must connect as the right type anyway. Andrew Bartlett (This used to be commit f50186e9306714b25ae8f92eff9a3e95ad706274) --- source4/scripting/ejs/smbcalls_creds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/scripting/ejs/smbcalls_creds.c b/source4/scripting/ejs/smbcalls_creds.c index 4b0312bf83..a1b9446e9e 100644 --- a/source4/scripting/ejs/smbcalls_creds.c +++ b/source4/scripting/ejs/smbcalls_creds.c @@ -184,7 +184,7 @@ static int ejs_creds_get_workstation(MprVarHandle eid, int argc, struct MprVar * /* set machine account */ -static int ejs_creds_set_machine_account(MprVarHandle eid, int argc, char **argv) +static int ejs_creds_set_machine_account(MprVarHandle eid, int argc, struct MprVar **argv) { struct cli_credentials *creds = ejs_creds_get_credentials(eid); if (argc != 0) { -- cgit