Re: [SSSD] Invalid assignment to enum

2013-03-06 Thread Pavel Březina
On 03/05/2013 06:20 PM, Lukas Slebodnik wrote: Hi, I played with clang and there were 2 interesting warnings: --- ../sssd/src/responder/sudo/sudosrv_get_sudorules.c:373:71: warning: implicit conversion from enumeration type 'enum sss_sudo_type' to different enumeration type 'en

Re: [SSSD] Invalid assignment to enum

2013-03-05 Thread Jakub Hrozek
On Tue, Mar 05, 2013 at 12:20:14PM -0500, Lukas Slebodnik wrote: > Hi, > I played with clang and there were 2 interesting warnings: > > --- > ../sssd/src/responder/sudo/sudosrv_get_sudorules.c:373:71: warning: implicit > conversion from enumeration type 'enum sss_sudo_type' to dif

[SSSD] Invalid assignment to enum

2013-03-05 Thread Lukas Slebodnik
Hi, I played with clang and there were 2 interesting warnings: --- ../sssd/src/responder/sudo/sudosrv_get_sudorules.c:373:71: warning: implicit conversion from enumeration type 'enum sss_sudo_type' to different enumeration type 'enum sss_dp_sudo_type' [-Wconversion]