From: Luca Bruno Date: Sat, 11 Oct 2008 07:22:43 +0000 (+0200) Subject: Fix compilation warning in apt-pkg/acquire.cc. New experimental release X-Git-Tag: 0.7.21~70^2~4 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/2ec1674d7d0c0cd77fb385d16bf8db98968e3e84?hp=b5cd290f23e6933f15fa225fa5f5c6eb23236817 Fix compilation warning in apt-pkg/acquire.cc. New experimental release --- diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc index 6840ae120..80c2fee0f 100644 --- a/apt-pkg/acquire.cc +++ b/apt-pkg/acquire.cc @@ -796,7 +796,7 @@ bool pkgAcquireStatus::Pulse(pkgAcquire *Owner) // Compute the CPS struct timeval NewTime; gettimeofday(&NewTime,0); - if (NewTime.tv_sec - Time.tv_sec == 6 && NewTime.tv_usec > Time.tv_usec || + if ((NewTime.tv_sec - Time.tv_sec == 6 && NewTime.tv_usec > Time.tv_usec) || NewTime.tv_sec - Time.tv_sec > 6) { double Delta = NewTime.tv_sec - Time.tv_sec + diff --git a/debian/changelog b/debian/changelog index 0bb4fcdde..9f73c25cc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +apt (0.7.17~exp1) UNRELEASED; urgency=low + + [ Luca Bruno ] + * apt-pkg/acquire.cc: + - fix a compilation warning + + -- Luca Bruno Sat, 11 Oct 2008 09:17:46 +0200 + apt (0.7.16) unstable; urgency=low [ Luca Bruno ]