diff --git a/include/click/bigint.hh b/include/click/bigint.hh index 0ff228711..33b274c0c 100644 --- a/include/click/bigint.hh +++ b/include/click/bigint.hh @@ -384,7 +384,7 @@ class Bigint { public: }; -/** @brief Typical Bigint usage with uint32_t limb_type. */ +/** @brief Typical Bigint usage with uint64_t limb_type. */ typedef Bigint bigint; CLICK_ENDDECLS diff --git a/include/click/tokenbucket.hh b/include/click/tokenbucket.hh index d86b936a5..8336fee24 100644 --- a/include/click/tokenbucket.hh +++ b/include/click/tokenbucket.hh @@ -220,7 +220,7 @@ void TokenRateX

::assign(token_type rate, token_type capacity) } _token_scale = max_tokens / capacity; - // XXX on non-32 bit types + // XXX on non-64 bit types static_assert(sizeof(bigint::limb_type) == sizeof(token_type), "bigint::limb_type should have the same size as token_type."); bigint::limb_type l[2] = { 0, 0 };