Port: Fix libuuid compat on mingw
[babeltrace.git] / lib / ctf-ir / trace.c
index 34b459df7137cc1b23e4592bcf9fad1cf67d197d..37fa2763f93859fb265cabdfb15c40ee50c6428b 100644 (file)
@@ -238,7 +238,7 @@ int bt_ctf_trace_set_uuid(struct bt_ctf_trace *trace, const unsigned char *uuid)
                goto end;
        }
 
-       memcpy(trace->uuid, uuid, sizeof(uuid_t));
+       memcpy(trace->uuid, uuid, BABELTRACE_UUID_LEN);
        trace->uuid_set = BT_TRUE;
        BT_LOGV("Set trace's UUID: addr=%p, name=\"%s\", "
                "uuid=\"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\"",
This page took 0.023131 seconds and 4 git commands to generate.