[libvirt PATCH v2 02/13] src: remove use of the INT_MULTIPLY_OVERFLOW macro
Pavel Hrdina
phrdina at redhat.com
Fri Jan 17 08:29:22 UTC 2020
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 at redhat.com>
> ---
> 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 at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200117/3f1e88e1/attachment-0001.sig>
More information about the libvir-list
mailing list