Re: [libvirt PATCH v2 02/13] src: remove use of the INT_MULTIPLY_OVERFLOW macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 16, 2020 at 03:24:37PM +0000, Daniel P. Berrangé wrote:
> The GLib g_size_checked_mul() function is not quite the
> same signature, and gives compiler warnings due to not
> correctly casting from gsize to guint64/32. Implementing
> a replacement for INT_MULTIPLY_OVERFLOW is easy enough
> to do ourselves.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  build-aux/syntax-check.mk           | 15 ---------------
>  src/internal.h                      |  2 ++
>  src/libvirt-domain.c                |  6 ++----
>  src/remote/remote_daemon_dispatch.c |  5 ++---
>  src/remote/remote_driver.c          |  5 ++---
>  5 files changed, 8 insertions(+), 25 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux