Port: Fix libuuid compat on mingw
[babeltrace.git] / lib / ctf-ir / clock-class.c
index 87c3d6bbf74f587d5de6709c513096e2a6a14b9d..d98807165c889cc4cb1b8627dff207f875686918 100644 (file)
@@ -456,7 +456,7 @@ int bt_ctf_clock_class_set_uuid(struct bt_ctf_clock_class *clock_class,
                goto end;
        }
 
-       memcpy(clock_class->uuid, uuid, sizeof(uuid_t));
+       memcpy(clock_class->uuid, uuid, BABELTRACE_UUID_LEN);
        clock_class->uuid_set = 1;
        BT_LOGV("Set clock class'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.02358 seconds and 4 git commands to generate.