From 03cf4bedf0bb9729fcf70f321647cf780e002a48 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 18 Feb 2013 16:24:38 +0100 Subject: winbind: Correctly cast name to messaging_send_buf(). Reviewed-by: Alexander Bokovoy --- source3/winbindd/winbindd_dual.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index 08f3dda5f7..8ba82d7e06 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -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); } } -- cgit