r7865: changed pidl to take a "const void *" instead of a "void *" for the
[bbaumbach/samba-autobuild/.git] / source4 / build / pidl / server.pm
index 29745686fed6b654b0d39827531315f5ceb4d011..e52ce517226ff9a9cb8912a2aa74690040948f4a 100644 (file)
@@ -168,7 +168,7 @@ pidl "
        return NT_STATUS_OK;
 }
 
-static NTSTATUS $name\__op_ndr_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_push *push, void *r)
+static NTSTATUS $name\__op_ndr_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_push *push, const void *r)
 {
        NTSTATUS status;
        uint16_t opnum = dce_call->pkt.u.request.opnum;