Closed Bug 834768 Opened 11 years ago Closed 11 years ago

Fix signed/unsigned build warnings in signaling_unittests.cpp

Categories

(Core :: WebRTC, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

{
media/webrtc/signaling/test/signaling_unittests.cpp:470:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

media/webrtc/signaling/test/signaling_unittests.cpp:763:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
}
Attached patch fixSplinter Review
Just switch to using a size_t, which IIUC is the type that std::vector<>::size() returns.
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #706457 - Flags: review?(rjesup)
Attachment #706457 - Flags: review?(rjesup) → review+
https://hg.mozilla.org/mozilla-central/rev/ec05a370f01d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: