summaryrefslogtreecommitdiffstats
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-01-18 21:41:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:17 -0500
commitbade0ad9098153c26ec9a0f85e0a6e36b038b028 (patch)
tree34aa975e2ca1078af248e42772ac7d8b199ed87e /source4/scripting
parenteead6d310b2f10a8933077f5b12131f0bb1aae02 (diff)
downloadsamba-bade0ad9098153c26ec9a0f85e0a6e36b038b028.tar.gz
samba-bade0ad9098153c26ec9a0f85e0a6e36b038b028.tar.xz
samba-bade0ad9098153c26ec9a0f85e0a6e36b038b028.zip
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)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/ejs/smbcalls_creds.c2
1 files changed, 1 insertions, 1 deletions
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) {