1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

winbind: Correctly cast name to messaging_send_buf().

Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
Andreas Schneider 2013-02-18 16:24:38 +01:00 committed by Alexander Bokovoy
parent de14fd942a
commit 03cf4bedf0

View File

@ -612,7 +612,7 @@ void winbind_msg_offline(struct messaging_context *msg_ctx,
messaging_send_buf(msg_ctx, pid_to_procid(child->pid),
MSG_WINBIND_OFFLINE,
(uint8 *)child->domain->name,
(const uint8_t *)child->domain->name,
strlen(child->domain->name)+1);
}
}
@ -661,7 +661,7 @@ void winbind_msg_online(struct messaging_context *msg_ctx,
messaging_send_buf(msg_ctx,
pid_to_procid(idmap->pid),
MSG_WINBIND_ONLINE,
(uint8 *)domain->name,
(const uint8_t *)domain->name,
strlen(domain->name)+1);
}
}
@ -686,7 +686,7 @@ void winbind_msg_online(struct messaging_context *msg_ctx,
messaging_send_buf(msg_ctx, pid_to_procid(child->pid),
MSG_WINBIND_ONLINE,
(uint8 *)child->domain->name,
(const uint8_t *)child->domain->name,
strlen(child->domain->name)+1);
}
}