]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: fix signed/unsigned comparison warning on alpha
authorAndreas Henriksson <andreas@fatal.se>
Fri, 21 Aug 2015 14:13:27 +0000 (16:13 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 24 Aug 2015 08:55:39 +0000 (10:55 +0200)
commit88294abaf9bb244601322edca1e1b825ebf39270
treee5593a01d51f12f0d24ee3c7b1b18ca044b24d69
parent624e147ba29531b16edeaad21f67b7bc6e9e6b3e
hwclock: fix signed/unsigned comparison warning on alpha

Fixes the following warning:
sys-utils/hwclock.c: In function 'manipulate_epoch':
sys-utils/hwclock.c:1465:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (epoch_opt == -1)

Full build log available on:
https://buildd.debian.org/status/fetch.php?pkg=util-linux&arch=alpha&ver=2.26.2-9&stamp=1440078034

Detected by/via:
https://qa.debian.org/bls/packages/u/util-linux.html

Please note that this has never actually been (build-)tested on alpha,
but should hopefully resolve the warning. Note also that limits.h is
already included.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
sys-utils/hwclock.c