diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index d3a33721079..10b7d42d464 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -2023,7 +2023,7 @@ NTSTATUS _samr_ChangePasswordUser3(pipes_struct *p, NTSTATUS status; fstring user_name; const char *wks = NULL; - uint32 reject_reason; + enum samPwdChangeReason reject_reason; struct samr_DomInfo1 *dominfo = NULL; struct userPwdChangeFailureInformation *reject = NULL; uint32_t tmp;