Closed Bug 923894 Opened 12 years ago Closed 12 years ago

fix size_t/ssize_t comparison in mozPoisonWriteMac

Categories

(Core :: XPCOM, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: jaas, Assigned: jaas)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

0:03.05 mozPoisonWriteMac.o 0:03.25 Warning: -Wsign-compare in /Users/josh/src/mozilla/ff_trunk_debug/xpcom/build/mozPoisonWriteMac.cpp: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') 0:03.25 /Users/josh/src/mozilla/ff_trunk_debug/xpcom/build/mozPoisonWriteMac.cpp:195:29: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] 0:03.25 if (!ValidWriteAssert(r == count)) 0:03.25
Attachment #813926 - Flags: review?(benjamin)
Assignee: nobody → joshmoz
Attachment #813926 - Flags: review?(benjamin) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: