Closed Bug 551088 Opened 14 years ago Closed 14 years ago

fix xpconnect signed warnings

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
      No description provided.
Attachment #431263 - Flags: review?(dbradley)
Comment on attachment 431263 [details] [diff] [review]
patch

r=dbradley

yay whack those warnings.

Wonder if it would be better to use PR_UINT32_MAX instead of ~(size_t)0.

+    for (PRUint32 i = 0; i < callbacks.Length(); ++i) {

Technically nsTArray<JSGCCallback>::size_type would eliminate any future type mismatch. But it is a bit verbose.
Attachment #431263 - Flags: review?(dbradley) → review+
Status: NEW → ASSIGNED
Summary: fix signed warnings → fix xpconnect signed warnings
http://hg.mozilla.org/mozilla-central/rev/c5e6e96e9f75
Status: ASSIGNED → RESOLVED
Closed: 14 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: