Closed Bug 514804 Opened 12 years ago Closed 10 years ago

gfxPlatform::GetRenderingIntent returns an int, not a bool

Categories

(Core :: GFX: Color Management, defect)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: bholley, Unassigned)

Details

http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/src/gfxPlatform.cpp#505

I just went through my moco inbox and taras' script was yammering at me. Looks like this works because PRBool is typedefed to an int. Should be fixed though, if only for the sake of not giving false positives to static analysis.
This has been changed to an int now, closing. This was likely fixed by the PRBool conversion.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.