Closed
Bug 934779
Opened 12 years ago
Closed 12 years ago
Fix a few more widget/windows warnings
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: dholbert, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
2.52 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
Fixing a few more windows widget build warnings:
{
widget/windows/TaskbarWindowPreview.cpp(157) : warning C4018: '<=' : signed/unsigned mismatch
widget/windows/nsClipboard.cpp(732) : warning C4018: '>' : signed/unsigned mismatch
}
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #827134 -
Flags: review?(jmathies)
Assignee | ||
Comment 2•12 years ago
|
||
For the first hunk: note that nsTaskbarProgressState is typedeffed to 'long', which is why we warn about it being compared to the (unsigned) result of ArraySize().
For the second hunk: outDataLen is a uint32_t*, and endOfData is an int32_t but is known-nonnegative when we get to the comparison, due to the checks on it above in the patch's contextual code (for endOfData < -1, and endOfData == -1).
![]() |
||
Updated•12 years ago
|
Attachment #827134 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Flags: in-testsuite-
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•