diff options
Diffstat (limited to 'lib/joinstate.h')
-rw-r--r-- | lib/joinstate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/joinstate.h b/lib/joinstate.h index f7c0cb2b..e4dc679a 100644 --- a/lib/joinstate.h +++ b/lib/joinstate.h @@ -41,7 +41,7 @@ static const std::array<const char*, 3> JoinStateStrings { { "join", "invite", inline const char* toCString(JoinState js) { size_t state = size_t(js), index = 0; - while (state >>= 1) + while (state >>= 1u) ++index; return JoinStateStrings[index]; } |