Re: [PATCH v7 5/9] varint: use explicit width for integers
From: Ezekiel Newren <hidden>
Date: 2025-10-01 17:22:57
From: Ezekiel Newren <hidden>
Date: 2025-10-01 17:22:57
On Tue, Sep 30, 2025 at 7:34 AM Kristoffer Haugsbakk [off-list ref] wrote:
On Thu, Sep 25, 2025, at 08:30, Patrick Steinhardt wrote:quoted
The varint subsystem currently uses implcit widths for integers. On thes/implcit/implicit/quoted
one hand we use `uintmax_t` for the actual value. On the other hand, we use `int` for the length of the encoded varint. Both of these have known maximum vaules, as we only support at most 16s/vaules/values/
Other than the typos this looks good.