r4887: removed a bogus cast
authorAndrew Tridgell <tridge@samba.org>
Fri, 21 Jan 2005 06:56:13 +0000 (06:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:03 +0000 (13:09 -0500)
(This used to be commit a034556faa5d15fee44a58be3aea8aee8ffae3c8)

source4/ntvfs/posix/pvfs_xattr.c

index ca535db1686933808a1bf93853ad23001b02338a..c930fcbd681bb081ea2817d60e9774b81ab0157d 100644 (file)
@@ -131,7 +131,7 @@ static NTSTATUS pvfs_xattr_ndr_save(struct pvfs_state *pvfs,
        DATA_BLOB blob;
        NTSTATUS status;
 
-       status = ndr_push_struct_blob(&blob, mem_ctx, p, (ndr_push_flags_fn_t)push_fn);
+       status = ndr_push_struct_blob(&blob, mem_ctx, p, push_fn);
        if (!NT_STATUS_IS_OK(status)) {
                talloc_free(mem_ctx);
                return status;