Closed
Bug 14706
Opened 25 years ago
Closed 25 years ago
function returns value of incorrect sign
Categories
(Core :: XPCOM, defect, P3)
Core
XPCOM
Tracking
()
RESOLVED
INVALID
M12
People
(Reporter: colin, Assigned: scc-obsolete)
Details
In xpcom/ds/nsPageMgr.cpp is function nsPageMgr::Init.
The type of this function is nsresult which is UNsigned.
Within the routine is:
if (mMonitor == NULL)
return PR_FAILURE;
PR_FAILURE is an enum with a value of -1.
A signed return within an unsigned function causes my
compiler to complain.
Colin.
Updated•25 years ago
|
Assignee: dp → dougt
Updated•25 years ago
|
Target Milestone: M12
Comment 1•25 years ago
|
||
colin, is this a warning or an error?
Reporter | ||
Comment 2•25 years ago
|
||
It's a warning.
Updated•25 years ago
|
QA Contact: beppe → don
Comment 3•25 years ago
|
||
assigning DON as QA contact -- I don't know who else to assign this to Don.
Updated•25 years ago
|
Assignee: dougt → scc
Comment 4•25 years ago
|
||
scott, can you quickly fix this.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•25 years ago
|
||
...I guess so.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 6•25 years ago
|
||
uhhh, I don't have any such file "nsPageMgr.cpp", and I can't find the routine |
nsPageMgr::Init| using lxr... is this bug invalid? colin?
Reporter | ||
Comment 7•25 years ago
|
||
I think this code was part of the necko memory management routines. Anyway,
its clearly been removed since I reported it, so just close the bug report.
Updated•24 years ago
|
QA Contact: don → kandrot
You need to log in
before you can comment on or make changes to this bug.
Description
•