summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/ejsrpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/ejs/ejsrpc.c')
-rw-r--r--source4/scripting/ejs/ejsrpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/ejs/ejsrpc.c b/source4/scripting/ejs/ejsrpc.c
index de25d3a0f0..a0fee2efe7 100644
--- a/source4/scripting/ejs/ejsrpc.c
+++ b/source4/scripting/ejs/ejsrpc.c
@@ -148,15 +148,15 @@ NTSTATUS ejs_push_hyper(struct ejs_rpc *ejs,
}
NTSTATUS ejs_pull_dlong(struct ejs_rpc *ejs,
- struct MprVar *v, const char *name, uint64_t *r)
+ struct MprVar *v, const char *name, int64_t *r)
{
- return ejs_pull_hyper(ejs, v, name, r);
+ return ejs_pull_hyper(ejs, v, name, (uint64_t *)r);
}
NTSTATUS ejs_push_dlong(struct ejs_rpc *ejs,
- struct MprVar *v, const char *name, const uint64_t *r)
+ struct MprVar *v, const char *name, const int64_t *r)
{
- return ejs_push_hyper(ejs, v, name, r);
+ return ejs_push_hyper(ejs, v, name, (const uint64_t *)r);
}
NTSTATUS ejs_pull_udlong(struct ejs_rpc *ejs,