10 Nov
2021
10 Nov
'21
6:56 p.m.
On Wed, Nov 10, 2021 at 08:49:27PM +0200, Nir Soffer wrote:
We don't need separate macros for size_t and uint64_t since the compiler builtins are generic. If we need to port to a complier that does not have generic builtins, it is likely that we can do this in a generic way.
Signed-off-by: Nir Soffer <nsoffer@redhat.com> --- common/include/checked-overflow.h | 18 ++++-------------- common/utils/vector.c | 10 +++++----- 2 files changed, 9 insertions(+), 19 deletions(-)
ACK. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org