set correct bits for UUID type
This commit is contained in:
parent
a496cca21e
commit
ce575e983e
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user