summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-23 21:27:58 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-24 01:51:04 -0600
commitde9c8930a679fcff1d0f0632d4f5b03e6b54722d (patch)
tree491b36bb58792ded82e203b9fe8889be2d30e39f /source4/libnet/libnet.h
parentd0ba9f001474bfee9b1e8fb516effab736cd4050 (diff)
downloadsamba-de9c8930a679fcff1d0f0632d4f5b03e6b54722d.tar.gz
samba-de9c8930a679fcff1d0f0632d4f5b03e6b54722d.tar.bz2
samba-de9c8930a679fcff1d0f0632d4f5b03e6b54722d.zip
r26573: Fix warnings.
(This used to be commit 874f0ac0561e38a8c0ceda983f6c88c75ee29e9c)
Diffstat (limited to 'source4/libnet/libnet.h')
-rw-r--r--source4/libnet/libnet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/libnet.h b/source4/libnet/libnet.h
index 71ee8ef8e4..015661a074 100644
--- a/source4/libnet/libnet.h
+++ b/source4/libnet/libnet.h
@@ -30,7 +30,7 @@ struct libnet_context {
/* samr connection parameters - opened handles and related properties */
struct {
struct dcerpc_pipe *pipe;
- char *name;
+ const char *name;
struct dom_sid *sid;
uint32_t access_mask;
struct policy_handle handle;
@@ -41,7 +41,7 @@ struct libnet_context {
/* lsa connection parameters - opened handles and related properties */
struct {
struct dcerpc_pipe *pipe;
- char *name;
+ const char *name;
uint32_t access_mask;
struct policy_handle handle;
} lsa;