From ce575e983eb003f961e18a1346c618ee824ba7a0 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 22 Aug 2021 15:34:55 -0400 Subject: [PATCH] set correct bits for UUID type --- uuid/uuid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }