libvirt/include/libvirt
Michal Privoznik 0628f3498c Turn 1<<31 into 1U<<31
Apparently, 1 << 31 is signed which in turn does not fit into
a signed integer variable:

../../include/libvirt/libvirt-domain.h:1881:57: error: result of '1 << 31' requires 33 bits to represent, but 'int' only has 32 bits [-Werror=shift-overflow=]
     VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS = 1 << 31, /* enforce requested stats */
                                                         ^~
cc1: all warnings being treated as errors

The solution is to make it an unsigned value. I've found only two
such occurrences in our code base.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-05-28 13:49:14 +02:00
..
libvirt-admin.h admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
libvirt-common.h.in include: common: Fix function formatting 2016-04-21 15:39:08 +02:00
libvirt-domain-snapshot.h Move virDomainSnapshot related APIs out of libvirt.h.in 2014-10-24 17:20:20 +01:00
libvirt-domain.h Turn 1<<31 into 1U<<31 2016-05-28 13:49:14 +02:00
libvirt-event.h Move virEvent related APIs out of libvirt.h.in 2014-10-24 17:23:17 +01:00
libvirt-host.h libvirt-host: Move virTypedParam* to libvirt-common 2016-04-18 17:05:48 +02:00
libvirt-interface.h Move virInterface related APIs out of libvirt.h.in 2014-10-24 17:21:15 +01:00
libvirt-lxc.h syntax-check: Only allows to include public headers in external tools 2013-04-18 11:31:19 +08:00
libvirt-network.h Move virNetwork related APIs out of libvirt.h.in 2014-10-24 17:20:52 +01:00
libvirt-nodedev.h Move virNodeDevice related APIs out of libvirt.h.in 2014-10-24 17:21:59 +01:00
libvirt-nwfilter.h Move virNWFilter related APIs out of libvirt.h.in 2014-10-24 17:21:34 +01:00
libvirt-qemu.h qemu: lifecycle: make agent-mode shutdown and reboot timeout 2015-04-02 11:08:48 +02:00
libvirt-secret.h Move virSecret related APIs out of libvirt.h.in 2014-10-24 17:22:20 +01:00
libvirt-storage.h storage: add ploop volume type 2016-04-15 17:27:32 +02:00
libvirt-stream.h Move virStream related APIs out of libvirt.h.in 2014-10-24 17:22:38 +01:00
libvirt.h libvirt: introduce libvirt/libvirt-common.h.in 2015-11-30 09:36:19 +01:00
Makefile.am makefile: Move include/Makefile.am to include/libvirt/Makefile.am 2016-04-15 09:44:04 +02:00
virterror.h admin: Introduce virAdmServerLookupClient 2016-05-03 15:52:50 +02:00