summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-23 08:36:52 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-23 08:37:24 +0100
commit9e7de4276586bb369819a689eb9b35820a1a8145 (patch)
tree3379bfbe66ae91542b52a0cca9329cddf08d9a6e
parent41051fd3d3ac7450771518aa12b660867ed7e819 (diff)
downloadsamba-9e7de4276586bb369819a689eb9b35820a1a8145.tar.gz
samba-9e7de4276586bb369819a689eb9b35820a1a8145.tar.bz2
samba-9e7de4276586bb369819a689eb9b35820a1a8145.zip
ndrdump - make "in_pipes" and "out_pipes" const
In order to suppress a build warning.
-rw-r--r--librpc/tools/ndrdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/tools/ndrdump.c b/librpc/tools/ndrdump.c
index 284dbcedf9..01618d5d82 100644
--- a/librpc/tools/ndrdump.c
+++ b/librpc/tools/ndrdump.c
@@ -219,8 +219,8 @@ static NTSTATUS ndrdump_pull_and_print_pipes(const char *function,
POPT_COMMON_VERSION
{ NULL }
};
- struct ndr_interface_call_pipes *in_pipes = NULL;
- struct ndr_interface_call_pipes *out_pipes = NULL;
+ const struct ndr_interface_call_pipes *in_pipes = NULL;
+ const struct ndr_interface_call_pipes *out_pipes = NULL;
ndr_table_init();