Closed
Bug 198956
Opened 21 years ago
Closed 12 years ago
nsRange::GetNodeLength declares len as unsigned and uses it as signed
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
Details
653 PRInt32 nsRange::GetNodeLength(nsIDOMNode *aNode) 654 { 659 PRUint32 len = -1; 677 return len; 678 } This triggers warnings and is silly.
Comment 1•19 years ago
|
||
timeless: fixed by jst? http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/content/base/src&command=DIFF_FRAMESET&file=nsRange.cpp&rev2=1.170&rev1=1.169
Updated•15 years ago
|
QA Contact: desale → traversal-range
Comment 2•12 years ago
|
||
This was evidently fixed long ago. Today's nsRange::GetNodeLength returns a PRUint32.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: DOM: Traversal-Range → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•