mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
rpc_server3: Fix two const warnings
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
7701053806
commit
c909c0131a
@ -73,7 +73,7 @@ NTSTATUS rpc_create_tcpip_sockets(const struct ndr_interface_table *iface,
|
||||
|
||||
if (bvec != NULL) {
|
||||
rc = tsocket_address_bsd_from_sockaddr(tmp_ctx,
|
||||
(struct sockaddr *)ifss,
|
||||
(const struct sockaddr *)ifss,
|
||||
sizeof(struct sockaddr_storage),
|
||||
&bind_addr);
|
||||
if (rc < 0) {
|
||||
@ -197,7 +197,7 @@ NTSTATUS rpc_setup_tcpip_sockets(struct tevent_context *ev_ctx,
|
||||
|
||||
if (bvec != NULL) {
|
||||
rc = tsocket_address_bsd_from_sockaddr(tmp_ctx,
|
||||
(struct sockaddr*)ifss,
|
||||
(const struct sockaddr*)ifss,
|
||||
sizeof(struct sockaddr_storage),
|
||||
&bind_addr);
|
||||
if (rc < 0) {
|
||||
|
Reference in New Issue
Block a user