Closed Bug 297241 Opened 20 years ago Closed 20 years ago

File size counter turns into negative in case of bigger files than 2147483647 bytes

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 228968

People

(Reporter: niel, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

File size counter turns into negative in case of bigger files than 2147483647 bytes.

I suppose you are using a signed 32 bit integer to display the size counter,
which is obviously too small for big files (like DVD ISO's).

Reproducible: Always

Steps to Reproduce:
1. Download a file bigger than 2G
2. Watch the file size counter after reaching 2G
3. It will turn into negative

Actual Results:  
It's not a serious problem. It does not affect the downloading of the file.

*** This bug has been marked as a duplicate of 228968 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.