From 2e7d002315066400ccb1e62dacb3500fa3aa6015 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 24 Aug 2011 19:48:03 -0500 Subject: 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 --- lib/libalpm/dload.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libalpm/dload.h') 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; -- cgit v1.2.3-24-g4f1b