summaryrefslogtreecommitdiff
path: root/source4/lib/registry/rpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/registry/rpc.c')
-rw-r--r--source4/lib/registry/rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/rpc.c b/source4/lib/registry/rpc.c
index 8096c8fbfe..0cb6b118a5 100644
--- a/source4/lib/registry/rpc.c
+++ b/source4/lib/registry/rpc.c
@@ -193,7 +193,7 @@ static WERROR rpc_get_value_by_index(TALLOC_CTX *mem_ctx,
{
struct rpc_key *mykeydata = talloc_get_type(parent, struct rpc_key);
struct winreg_EnumValue r;
- struct winreg_StringBuf name;
+ struct winreg_ValNameBuf name;
uint8_t value;
uint32_t val_size = MAX_VALSIZE;
uint32_t zero = 0;