messages: Use uint8_t type.
authorAndreas Schneider <asn@samba.org>
Mon, 18 Feb 2013 14:46:52 +0000 (15:46 +0100)
committerAlexander Bokovoy <ab@samba.org>
Fri, 22 Feb 2013 15:36:12 +0000 (16:36 +0100)
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/lib/messages.c

index b60ab79e362a8f445b88195f242a755f14866d3e..f4d62279d935cedbb328dc7d941b685b6169d3a8 100644 (file)
@@ -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);