diff options
author | Dan McGee <dan@archlinux.org> | 2012-01-01 02:18:46 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-02 19:55:59 +0100 |
commit | 2ce4f85f1ecea37d2c2ab2ea7393dc04adeeaa1d (patch) | |
tree | 49bc8662f8415b1de4c058a8e590a4c503fdf4cf /lib/libalpm/dload.c | |
parent | 819c28bf8c666a61ef3b0a016dcbd6962ecaf4e4 (diff) | |
download | pacman-2ce4f85f1ecea37d2c2ab2ea7393dc04adeeaa1d.tar.gz pacman-2ce4f85f1ecea37d2c2ab2ea7393dc04adeeaa1d.tar.xz |
Convert get_update_timediff to integer return value
We don't need absolute floating point precision at all here; we can
stick to integer land and use milliseconds which are precise enough for
our purposes. This also removes most floating point math out of the
non-update code path.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.c')
0 files changed, 0 insertions, 0 deletions