summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_misc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-28 23:07:26 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-28 23:07:26 +0000
commit7030b7f06a8784469562562aa346d0c2918734d5 (patch)
tree86a36e6cf1b963bb371bd6f920a276d2cd670445 /source/rpc_parse/parse_misc.c
parent0cc59cc2c63bceeda0bc6f44dc65f10f81ebda8d (diff)
downloadsamba-7030b7f06a8784469562562aa346d0c2918734d5.tar.gz
samba-7030b7f06a8784469562562aa346d0c2918734d5.tar.xz
samba-7030b7f06a8784469562562aa346d0c2918734d5.zip
init_unistr takes a const 2nd arg
(ps: I hate const)
Diffstat (limited to 'source/rpc_parse/parse_misc.c')
-rw-r--r--source/rpc_parse/parse_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_parse/parse_misc.c b/source/rpc_parse/parse_misc.c
index b12688d3621..e68cd3ae122 100644
--- a/source/rpc_parse/parse_misc.c
+++ b/source/rpc_parse/parse_misc.c
@@ -475,7 +475,7 @@ BOOL smb_io_unihdr2(char *desc, UNIHDR2 *hdr2, prs_struct *ps, int depth)
Inits a UNISTR structure.
********************************************************************/
-void init_unistr(UNISTR *str, char *buf)
+void init_unistr(UNISTR *str, const char *buf)
{
/* store the string (null-terminated copy) */
dos_struni2((char *)str->buffer, buf, sizeof(str->buffer));