URL: https://github.com/SSSD/sssd/pull/94
Title: #94: Enable {socket,dbus}-activation for responders

pbrezina commented:
"""
> ../src/sbus/sssd_dbus_connection.c: In function ‘sbus_init_connection’: 
> ../src/sbus/sssd_dbus_connection.c:181:9: warning: initialization from 
> incompatible pointer type [-Wincompatible-pointer-types] 
> talloc_set_destructor((TALLOC_CTX *)conn, sbus_connection_destructor);

You must also remove the type cast. I.e.
```c
talloc_set_destructor(conn, sbus_connection_destructor);
```

It will the compiler then makes sure the type of destructor matches the type of 
variable.
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/94#issuecomment-267004212
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org

Reply via email to