Peter Xu <[email protected]> writes:

> Moving the algorithm from print_type_size() into size_to_str() so that
> other component can also leverage it. With that, refactor
> print_type_size().
>
> The assert() in that logic is removed though, since even UINT64_MAX
> would not overflow.

I'd keep it.

> Signed-off-by: Peter Xu <[email protected]>

Regardless:
Reviewed-by: Markus Armbruster <[email protected]>

Reply via email to