summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-02-18 15:46:52 +0100
committerAlexander Bokovoy <ab@samba.org>2013-02-22 16:36:12 +0100
commit2b890679a61efa676473c11ebbf7d31f4aeeb3b2 (patch)
tree53c27d04876c7164d52779e00db69887d48dc0ff /source3/lib
parent45671747f0b4a569581773ce497ab4dd31e7710d (diff)
downloadsamba-2b890679a61efa676473c11ebbf7d31f4aeeb3b2.tar.gz
samba-2b890679a61efa676473c11ebbf7d31f4aeeb3b2.tar.bz2
samba-2b890679a61efa676473c11ebbf7d31f4aeeb3b2.zip
messages: Use uint8_t type.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/messages.c4
1 files 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);