summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-20 22:06:51 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-20 22:33:02 +0200
commit2adfe4730362220afe3874b750e71c6e006b310a (patch)
treea8224578ae1eddff9fd3f4ca53c3fc01301e62b9 /source4
parent2f49c8f58e213e4b8b3f60bb6e02dfc833bb27f3 (diff)
downloadsamba-2adfe4730362220afe3874b750e71c6e006b310a.tar.gz
samba-2adfe4730362220afe3874b750e71c6e006b310a.tar.bz2
samba-2adfe4730362220afe3874b750e71c6e006b310a.zip
s4:registry/rpc.c - fix Solaris warnings by casts
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/rpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/registry/rpc.c b/source4/lib/registry/rpc.c
index a596fad2e3..7948f7cb40 100644
--- a/source4/lib/registry/rpc.c
+++ b/source4/lib/registry/rpc.c
@@ -214,12 +214,12 @@ static WERROR rpc_get_value_by_index(TALLOC_CTX *mem_ctx,
r.in.handle = &mykeydata->pol;
r.in.enum_index = n;
r.in.name = &name;
- r.in.type = type;
+ r.in.type = (enum winreg_Type *) type;
r.in.value = &value;
r.in.size = &val_size;
r.in.length = &zero;
r.out.name = &name;
- r.out.type = type;
+ r.out.type = (enum winreg_Type *) type;
r.out.value = &value;
r.out.size = &val_size;
r.out.length = &zero;
@@ -263,11 +263,11 @@ static WERROR rpc_get_value_by_name(TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r);
r.in.handle = &mykeydata->pol;
r.in.value_name = &name;
- r.in.type = type;
+ r.in.type = (enum winreg_Type *) type;
r.in.data = &value;
r.in.data_size = &val_size;
r.in.data_length = &zero;
- r.out.type = type;
+ r.out.type = (enum winreg_Type *) type;
r.out.data = &value;
r.out.data_size = &val_size;
r.out.data_length = &zero;