]> git.saurik.com Git - apt.git/blobdiff - methods/https.cc
Support large files in the complete toolset. Indexes of this
[apt.git] / methods / https.cc
index 45bd2a367de87d04ff69df7af086e2f119f2af1f..06a0e285aa2d5cbb594ea007ef043277288ef38a 100644 (file)
@@ -52,7 +52,7 @@ HttpsMethod::progress_callback(void *clientp, double dltotal, double dlnow,
 {
    HttpsMethod *me = (HttpsMethod *)clientp;
    if(dltotal > 0 && me->Res.Size == 0) {
-      me->Res.Size = (unsigned long)dltotal;
+      me->Res.Size = (unsigned long long)dltotal;
       me->URIStart(me->Res);
    }
    return 0;