summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-25 19:27:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:09 -0500
commitc199c2af1fa686962bb313222a0a0a29625ec450 (patch)
tree7125f1b1f088fa27f02b78eb374e659b50288c42 /source4/rpc_server
parent089f3843c5eadc792f9f8399bf3df45601621b2c (diff)
downloadsamba-c199c2af1fa686962bb313222a0a0a29625ec450.tar.gz
samba-c199c2af1fa686962bb313222a0a0a29625ec450.tar.bz2
samba-c199c2af1fa686962bb313222a0a0a29625ec450.zip
r3968: fix compiler warnings
metze (This used to be commit 6440476f7f2fd5776ec4a21240e7482603000d19)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index de8ac73304..4a9465b9eb 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -243,7 +243,7 @@ NTSTATUS dcesrv_generic_session_key(struct dcesrv_connection *p,
DATA_BLOB *session_key)
{
/* this took quite a few CPU cycles to find ... */
- session_key->data = discard_const_p(char, "SystemLibraryDTC");
+ session_key->data = discard_const_p(void, "SystemLibraryDTC");
session_key->length = 16;
return NT_STATUS_OK;
}