diff options
author | Allan McRae <allan@archlinux.org> | 2010-12-08 13:51:31 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-12 20:32:32 -0600 |
commit | 9f96c5433a4867cce9dc0c3ff23cb3ba8029be20 (patch) | |
tree | 55af7d9494ef188d966c670668a9a1e5b5053559 /lib/libalpm/be_sync.c | |
parent | ef977865a143eb682baf0d4f598c0c6924aeaa1a (diff) |
Explicitly test time difference is greater than zero
We are comparing a floating point number so should use an inequality
rather than implicitly testing != 0.
Prevents warning given by -Wfloat-equal.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_sync.c')
0 files changed, 0 insertions, 0 deletions