diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-12-02 07:11:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:59 -0500 |
commit | e4ed5dd5bc35df7ded773600f993603573e665ca (patch) | |
tree | deff9f93f778f251a5e44fb9e191f041f97c470d /source4 | |
parent | d72e8aacaffeb2fbfb0a79c1a1a1ca10a52cf4bf (diff) | |
download | samba-e4ed5dd5bc35df7ded773600f993603573e665ca.tar.gz samba-e4ed5dd5bc35df7ded773600f993603573e665ca.tar.bz2 samba-e4ed5dd5bc35df7ded773600f993603573e665ca.zip |
r12013: fix compiler warnings
metze
(This used to be commit 4d35c2b8e671cc8fe44971cf2a577236afd1abbd)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/ejs/ejsrpc.c | 8 | ||||
-rw-r--r-- | source4/scripting/ejs/ejsrpc.h | 4 |
2 files changed, 6 insertions, 6 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, diff --git a/source4/scripting/ejs/ejsrpc.h b/source4/scripting/ejs/ejsrpc.h index 03919c3602..a790beb804 100644 --- a/source4/scripting/ejs/ejsrpc.h +++ b/source4/scripting/ejs/ejsrpc.h @@ -67,9 +67,9 @@ NTSTATUS ejs_pull_hyper(struct ejs_rpc *ejs, NTSTATUS ejs_push_hyper(struct ejs_rpc *ejs, struct MprVar *v, const char *name, const uint64_t *r); 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); 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); NTSTATUS ejs_pull_udlong(struct ejs_rpc *ejs, struct MprVar *v, const char *name, uint64_t *r); NTSTATUS ejs_push_udlong(struct ejs_rpc *ejs, |