]> git.ipfire.org Git - thirdparty/libvirt.git/commit
src: remove use of the INT_MULTIPLY_OVERFLOW macro
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 14 Jan 2020 15:59:35 +0000 (15:59 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 17 Jan 2020 09:59:05 +0000 (09:59 +0000)
commitf018fbac78ae5b0d9928ee9a4724b2f17c38efef
tree683c160033b9e2e516c67ae5624d826522880267
parent117353f9e55f17aaf90034cc0f36e58aed58a924
src: remove use of the INT_MULTIPLY_OVERFLOW macro

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.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
build-aux/syntax-check.mk
src/internal.h
src/libvirt-domain.c
src/remote/remote_daemon_dispatch.c
src/remote/remote_driver.c