summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.c
diff options
context:
space:
mode:
authorRuediger Meier2017-06-12 01:59:36 +0200
committerKarel Zak2017-06-14 11:48:22 +0200
commit11e904f02cb1ec4e17e71b9925f35d5f7786e5fe (patch)
treeebeb6d742dd5226f9604223bf16a00f11f626f75 /sys-utils/hwclock.c
parentmisc: fix gcc-7 snprintf warnings -Wformat-truncation (diff)
downloadkernel-qcow2-util-linux-11e904f02cb1ec4e17e71b9925f35d5f7786e5fe.tar.gz
kernel-qcow2-util-linux-11e904f02cb1ec4e17e71b9925f35d5f7786e5fe.tar.xz
kernel-qcow2-util-linux-11e904f02cb1ec4e17e71b9925f35d5f7786e5fe.zip
libblkid: fix gcc-7 warning -Wint-in-bool-context
BLOCK_SIZE(sb) should be unsigned so that the left shift is defined. This was the warning: ../libblkid/src/superblocks/exfat.c: In function 'probe_exfat': ../libblkid/src/superblocks/exfat.c:40:42: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] #define CLUSTER_SIZE(sb) (BLOCK_SIZE(sb) << (sb)->bpc_bits) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../libblkid/src/superblocks/exfat.c:122:14: note: in expansion of macro 'CLUSTER_SIZE' if (!sb || !CLUSTER_SIZE(sb)) ^~~~~~~~~~~~ Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'sys-utils/hwclock.c')
0 files changed, 0 insertions, 0 deletions