s4-lsa: privilege IDs should use the enum, not an int
authorAndrew Tridgell <tridge@samba.org>
Thu, 2 Sep 2010 04:15:13 +0000 (14:15 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 Sep 2010 04:46:01 +0000 (14:46 +1000)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/rpc_server/lsa/dcesrv_lsa.c

index 0a304d380cc2f2a4d4fa340062d8a1f0a626b928..675aa178a723d628aeff7c5c63fef34148a2a800 100644 (file)
@@ -3444,7 +3444,7 @@ static NTSTATUS dcesrv_lsa_LookupPrivDisplayName(struct dcesrv_call_state *dce_c
        struct dcesrv_handle *h;
        struct lsa_policy_state *state;
        struct lsa_StringLarge *disp_name = NULL;
-       int id;
+       enum sec_privilege id;
 
        DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY);