diff --git a/uuid/uuid.cpp b/uuid/uuid.cpp index 6faef39..a0d115d 100644 --- a/uuid/uuid.cpp +++ b/uuid/uuid.cpp @@ -225,7 +225,7 @@ void uuid::setRFC4122Bytes_() // version raw_[7] = (raw_[7] & 0x0f) | (version_ << 4); // type - raw_[8] = (raw_[8] & 0b00111111) | (type_ << 6); + raw_[8] = (raw_[8] & 0b00111111) | (0b10 << 6); }