Closed
Bug 859024
Opened 12 years ago
Closed 12 years ago
Remove the MSVC exemption for FAIL_ON_WARNINGS in content/canvas/src
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: emk, Assigned: emk)
Details
Attachments
(1 file, 1 obsolete file)
|
1.65 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #734327 -
Flags: review?(jmuizelaar)
Comment 1•12 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #0)
> Created attachment 734327 [details] [diff] [review]
> patch
What warning does this fix?
| Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #1)
> What warning does this fix?
"C4146: unary minus operator applied to unsigned type, result still unsigned". See 859021 for details. I'll add a comment as I did in the bug.
Comment 3•12 years ago
|
||
Comment on attachment 734327 [details] [diff] [review]
patch
Review of attachment 734327 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/canvas/src/WebGLTexelConversions.cpp
@@ +358,5 @@
> uint8_t* dstStart = dst;
> ptrdiff_t signedDstStride = dstStride;
> if (mPixelStoreFlipY) {
> dstStart = dst + (height - 1) * dstStride;
> + signedDstStride = 0 - dstStride;
How about making this:
signedDstStride = -signedDstStride
instead.
Attachment #734327 -
Flags: review?(jmuizelaar) → review-
| Assignee | ||
Comment 4•12 years ago
|
||
Assignee: nobody → VYV03354
Attachment #734327 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #740018 -
Flags: review?(jmuizelaar)
Updated•12 years ago
|
Attachment #740018 -
Flags: review?(jmuizelaar) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Flags: in-testsuite-
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•