Closed Bug 244080 Opened 21 years ago Closed 21 years ago

Compiler warning in mozilla/extensions/cookie/nsPermissionManager.cpp

Categories

(Core :: Graphics: Image Blocking, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tenthumbs, Assigned: security-bugs)

Details

Attachments

(1 file)

Gcc says: nsPermissionManager.cpp:667: warning: comparison of unsigned expression < 0 is always false and the code is: PRUint32 type = GetTypeIndex(lineArray[1]->get(), PR_TRUE); if (type < 0) continue; Gcc eliminates the continue line which isn't good. This happened in the fix for bug 219752. CC'ing the author. Fix upcoming.
Attached patch patchSplinter Review
Simple fix, should work.
Attachment #148872 - Flags: review?(mvl)
Attachment #148872 - Flags: review?(mvl) → review+
mvl, can you drive this in, please?
Attachment #148872 - Flags: superreview?(darin)
Attachment #148872 - Flags: superreview?(darin) → superreview+
checked in
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: