From 2b890679a61efa676473c11ebbf7d31f4aeeb3b2 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 18 Feb 2013 15:46:52 +0100 Subject: messages: Use uint8_t type. Reviewed-by: Alexander Bokovoy --- source3/lib/messages.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/lib/messages.c b/source3/lib/messages.c index b60ab79e36..f4d62279d9 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -119,7 +119,7 @@ static int traverse_fn(struct db_record *rec, const struct server_id *id, * the msg has already been deleted from the messages.tdb.*/ status = messaging_send_buf(msg_all->msg_ctx, *id, msg_all->msg_type, - (const uint8 *)msg_all->buf, msg_all->len); + (const uint8_t *)msg_all->buf, msg_all->len); if (NT_STATUS_EQUAL(status, NT_STATUS_INVALID_HANDLE)) { @@ -368,7 +368,7 @@ NTSTATUS messaging_send(struct messaging_context *msg_ctx, NTSTATUS messaging_send_buf(struct messaging_context *msg_ctx, struct server_id server, uint32_t msg_type, - const uint8 *buf, size_t len) + const uint8_t *buf, size_t len) { DATA_BLOB blob = data_blob_const(buf, len); return messaging_send(msg_ctx, server, msg_type, &blob); -- cgit