Fix an incompatible pointer passed to winbind_get_groups
authorVolker Lendecke <vl@samba.org>
Wed, 25 Feb 2009 11:55:47 +0000 (12:55 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 25 Feb 2009 12:04:19 +0000 (13:04 +0100)
commit06b018767b6e6f3ee0221c3aee142cb2b4836fc9
tree24ced12d10d2fec9448ce97436f2bb26490e1f81
parent423c1d88fcd0f128bceaf8b0c371281aa4a41003
Fix an incompatible pointer passed to winbind_get_groups

This is the same bug that was fixed in other places of the code a few times
already:

A C compiler ONLY does automatic type conversions during an assignment.

Passing down a pointer to type A to a function taking type B as an
argument does NOT do any automatic type conversions.

If required, I can dig up the relevant portions of the C standard.
source3/passdb/pdb_wbc_sam.c