Closed
Bug 793440
Opened 12 years ago
Closed 12 years ago
Tautological constant out of range check on DOMSVGTransform.h
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: reuben, Assigned: reuben)
Details
Attachments
(1 file, 1 obsolete file)
9.29 KB,
patch
|
longsonr
:
review+
|
Details | Diff | Splinter Review |
This breaks the build on a recent Clang.
Attachment #663741 -
Flags: review?(jwatt)
Comment 1•12 years ago
|
||
This is right but it's not enough, it shows we have other issues. mIsAnimValItem should be uint32_tmIsAnimValItem:1; in DOMSVGTransform.h also MOZ_SVG_LIST_INDEX_BIT_COUNT should be 31 (the data items should add to 32) in that class. So it looks to me like DOMSVGNumber.h and DOMSVGLength.h have correct values. Then DOMSVGNumber.h and DOMSVGLength.h should take bool arguments for aIsAnimValItem so that we can remove the aIsAnimValItem < (1 << 1) check from DOMSVGLength.cpp and DOMSVGNumber.cpp too. If you don't want to do all that, please raise a follow up so that we can track it.
Comment 2•12 years ago
|
||
make that uint32_t mIsAnimValItem:1;
Assignee | ||
Comment 3•12 years ago
|
||
Sure :)
Attachment #663741 -
Attachment is obsolete: true
Attachment #663741 -
Flags: review?(jwatt)
Attachment #663753 -
Flags: review?(longsonr)
Comment 4•12 years ago
|
||
Comment on attachment 663753 [details] [diff] [review] Patch Thanks Reuben.
Attachment #663753 -
Flags: review?(longsonr) → review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 5•12 years ago
|
||
Green on Try. https://tbpl.mozilla.org/?tree=Try&rev=e8bb654fd567 https://hg.mozilla.org/integration/mozilla-inbound/rev/0fbabfc42867
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0fbabfc42867
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•