From be4a33c136d0699547838562ad8bee442c250e46 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 2 Aug 2019 21:15:57 -0700 Subject: [PATCH] ircd::m::id: Increase the buf SIZE constant to the next pow2. --- include/ircd/m/id.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ircd/m/id.h b/include/ircd/m/id.h index da09d4605..b3f5527fd 100644 --- a/include/ircd/m/id.h +++ b/include/ircd/m/id.h @@ -306,14 +306,14 @@ struct ircd::m::id::buf { static constexpr const size_t SIZE { - m::id::MAX_SIZE + m::id::MAX_SIZE + 1 }; private: - fixed_buffer b; + fixed_buffer b; public: - operator const fixed_buffer &() const + operator const fixed_buffer &() const { return b; }