From 08753ba817df23ddafe672fbdb22881f7a9e08e5 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 10 Jan 2022 11:28:22 -0500 Subject: [PATCH] Stop using GroupId for the type of a PAKE key id. (#13391) A PAKE key id is a uint16_t, or maybe we should have a specific type name for it, but it's not a GroupId. --- src/lib/core/NodeId.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/NodeId.h b/src/lib/core/NodeId.h index 6dc6b923e069e4..ea2024266b76dd 100644 --- a/src/lib/core/NodeId.h +++ b/src/lib/core/NodeId.h @@ -78,7 +78,7 @@ constexpr NodeId NodeIdFromGroupId(GroupId aGroupId) return kMinGroupNodeId | aGroupId; } -constexpr NodeId NodeIdFromPAKEKeyId(GroupId aPAKEKeyId) +constexpr NodeId NodeIdFromPAKEKeyId(uint16_t aPAKEKeyId) { return kMinPAKEKeyId | aPAKEKeyId; }