summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-19 17:04:50 +0100
committerVolker Lendecke <vl@samba.org>2008-03-19 17:04:50 +0100
commit31c83b750553d46792102e8afc889da7d99be859 (patch)
tree9efcb4a308eba8630cad94cff8c6abcfab5e3706
parentca63c6e0796454c18a1d580df99cbd6d05f60672 (diff)
downloadsamba-31c83b750553d46792102e8afc889da7d99be859.tar.gz
samba-31c83b750553d46792102e8afc889da7d99be859.tar.bz2
samba-31c83b750553d46792102e8afc889da7d99be859.zip
Fix a warning
(This used to be commit c40648ea4d7897c401a5a94703e586acfdaec13b)
-rw-r--r--source3/rpc_parse/parse_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_buffer.c b/source3/rpc_parse/parse_buffer.c
index 9a68e547a0..bb39a58c07 100644
--- a/source3/rpc_parse/parse_buffer.c
+++ b/source3/rpc_parse/parse_buffer.c
@@ -37,7 +37,7 @@ void rpcbuf_init(RPC_BUFFER *buffer, uint32 size, TALLOC_CTX *ctx)
if (prs_init(&buffer->prs, size, ctx, MARSHALL))
buffer->struct_start = prs_offset(&buffer->prs);
else
- buffer->struct_start = NULL;
+ buffer->struct_start = 0;
}
/*******************************************************************