Closed Bug 1753911 Opened 1 year ago Closed 7 months ago

Warning: result of comparison 'uint64_t' is always false in layout/style/StreamLoader.cpp

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1757253

People

(Reporter: TYLin, Unassigned)

Details

I see the following warning in my local linux build. The code is added in bug 1741665 (which I don't have an access to.)

0:04.11 /home/aethanyc/Projects/gecko/layout/style/StreamLoader.cpp:46:28: warning: result of comparison 'uint64_t' (aka 'unsigned long') > 18446744073709551615 is always false [-Wtautological-type-limit-compare]
 0:04.11       if (uint64_t(length) >
 0:04.11           ~~~~~~~~~~~~~~~~ ^

https://searchfox.org/mozilla-central/rev/855b2af753bc01bf27fc1b9f2d0184a0a440773d/layout/style/StreamLoader.cpp#46-47

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.