diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-31 19:18:46 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-02 12:55:59 -0600 |
commit | 2ce4f85f1ecea37d2c2ab2ea7393dc04adeeaa1d (patch) | |
tree | 49bc8662f8415b1de4c058a8e590a4c503fdf4cf /src/pacman/pacman.c | |
parent | 819c28bf8c666a61ef3b0a016dcbd6962ecaf4e4 (diff) |
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 'src/pacman/pacman.c')
0 files changed, 0 insertions, 0 deletions