Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-24 19:48:03 -0500
committerDan McGee <dan@archlinux.org>2011-08-25 16:09:52 -0500
commit2e7d002315066400ccb1e62dacb3500fa3aa6015 (patch)
tree47464858aa13251e31928b5a26210f007ce2ad2a /lib/libalpm/dload.h
parentf0357e415c10c10e691c1ed881b1c1ebe32e3084 (diff)
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.h4
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;