summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/lib/registry/reg_backend_rpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/registry/reg_backend_rpc.c b/source/lib/registry/reg_backend_rpc.c
index eb98565554e..79adad13569 100644
--- a/source/lib/registry/reg_backend_rpc.c
+++ b/source/lib/registry/reg_backend_rpc.c
@@ -168,7 +168,8 @@ static WERROR rpc_get_value_by_index(TALLOC_CTX *mem_ctx, const struct registry_
struct rpc_key_data *mykeydata = parent->backend_data;
WERROR error;
struct winreg_EnumValue r;
- uint32_t type, len1, zero = 0;
+ uint32_t len1, zero = 0;
+ enum winreg_Type type;
NTSTATUS status;
struct winreg_StringBuf name;
uint8_t u8;