From 2adfe4730362220afe3874b750e71c6e006b310a Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 20 Jun 2010 22:06:51 +0200 Subject: s4:registry/rpc.c - fix Solaris warnings by casts --- source4/lib/registry/rpc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/lib') 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; -- cgit