Build Update for libvirt/libvirt
-------------------------------------
Build: #2560
Status: Fixed
Duration: 21 mins and 20 secs
Commit: 3b7c5ab (master)
Author: Michal Privoznik
Message: remote_daemon_dispatch.c: typecast ARRAY_CARDINALITY() in
remoteDispatchProbeURI()
Since users can enable/disable drivers at compile time, it may
happen that @drivers array is in fact empty (in both its
occurrences within the function). This means that
ARRAY_CARDINALITY() returns 0UL which makes gcc unhappy because
of loop condition:
i < ARRAY_CARDINALITY(drivers)
GCC complains that @i is unsigned and comparing an unsigned value
against 0 is always false. However, changing the type of @i to
ssize_t is not enough, because compiler still sees the unsigned
zero. The solution is to typecast the ARRAY_CARDINALITY().
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
Reviewed-by: Jim Fehlig <jfehlig(a)suse.com>
View the changeset:
https://github.com/libvirt/libvirt/compare/49520e9e7d1c...3b7c5ab983f4
View the full build log and details:
https://travis-ci.org/libvirt/libvirt/builds/572632190?utm_medium=notific...
--
You can unsubscribe from build emails from the libvirt/libvirt repository going to
https://travis-ci.org/account/preferences/unsubscribe?repository=4872032&....
Or unsubscribe from *all* email updating your settings at
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notifica....
Or configure specific recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications.