Closed Bug 14706 Opened 21 years ago Closed 20 years ago
function returns value of incorrect sign
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.
colin, is this a warning or an error?
It's a warning.
assigning DON as QA contact -- I don't know who else to assign this to Don.
scott, can you quickly fix this.
...I guess so.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
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?
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.
You need to log in before you can comment on or make changes to this bug.