X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Fctf-writer%2Fctf_writer.c;h=81dc58d74ee748827af2ba96057e86d4aad6f504;hp=1ed4cc6737d764f730c1b8d2b7e00215b1be392e;hb=6162e6b7a6d907974d954419c2375f654f39eb72;hpb=8bd04432c92ff6aad64a7f857d9de6f2a82f90f5 diff --git a/tests/ctf-writer/ctf_writer.c b/tests/ctf-writer/ctf_writer.c index 1ed4cc67..81dc58d7 100644 --- a/tests/ctf-writer/ctf_writer.c +++ b/tests/ctf-writer/ctf_writer.c @@ -38,6 +38,7 @@ #include "compat/stdio.h" #include #include "common/assert.h" +#include "common/uuid.h" #include #include "tap/tap.h" #include @@ -72,7 +73,7 @@ static unsigned int packet_resize_test_length = PACKET_RESIZE_TEST_DEF_LENGTH; /* Return 1 if uuids match, zero if different. */ static -int uuid_match(const unsigned char *uuid_a, const unsigned char *uuid_b) +int uuid_match(const uint8_t *uuid_a, const uint8_t *uuid_b) { int ret = 0; int i; @@ -1600,8 +1601,8 @@ int main(int argc, char **argv) struct bt_ctf_stream *stream1; struct bt_ctf_stream *stream; const char *ret_string; - const unsigned char *ret_uuid; - unsigned char tmp_uuid[16] = { 0 }; + const uint8_t *ret_uuid; + bt_uuid_t tmp_uuid = { 0 }; struct bt_ctf_field_type *packet_context_type, *packet_context_field_type, *packet_header_type,