diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-25 02:48:03 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-25 23:09:52 +0200 |
commit | 2e7d002315066400ccb1e62dacb3500fa3aa6015 (patch) | |
tree | 47464858aa13251e31928b5a26210f007ce2ad2a /lib/libalpm/dload.h | |
parent | f0357e415c10c10e691c1ed881b1c1ebe32e3084 (diff) | |
download | pacman-2e7d002315066400ccb1e62dacb3500fa3aa6015.tar.gz pacman-2e7d002315066400ccb1e62dacb3500fa3aa6015.tar.xz |
Use off_t rather than double where possible
Beautiful of libcurl to use floating point types for what are never
fractional values. We can do better, and we usually want these values in
their integer form anyway.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.h')
-rw-r--r-- | lib/libalpm/dload.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h index 13034f7b..bc5eb131 100644 --- a/lib/libalpm/dload.h +++ b/lib/libalpm/dload.h @@ -33,8 +33,8 @@ struct dload_payload { char *destfile_name; char *content_disp_name; char *fileurl; - double initial_size; - long max_size; + off_t initial_size; + off_t max_size; int force; int allow_resume; int errors_ok; |