sync 3.0 into HEAD for the last time
[kai/samba.git] / source3 / auth / auth_winbind.c
index aa8f345a5b97789ef4139cb6dda22d9cedbb06b7..cae7aadd0c72fa48d6206a6650a10f9b6aa72c74 100644 (file)
@@ -36,7 +36,7 @@ static NTSTATUS get_info3_from_ndr(TALLOC_CTX *mem_ctx, struct winbindd_response
                if (!prs_init(&ps, len, mem_ctx, UNMARSHALL)) {
                        return NT_STATUS_NO_MEMORY;
                }
-               prs_copy_data_in(&ps, info3_ndr, len);
+               prs_copy_data_in(&ps, (char *)info3_ndr, len);
                prs_set_offset(&ps,0);
                if (!net_io_user_info3("", info3, &ps, 1, 3)) {
                        DEBUG(2, ("get_info3_from_ndr: could not parse info3 struct!\n"));