Closed Bug 277663 Opened 20 years ago Closed 18 years ago

Allow comparing nsInt64/nsUint64 with 32-bit integers

Categories

(Core :: XPCOM, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Biesinger, Assigned: dougt)

Details

It would be nice if ns*Int64 could be easily compared with 32-bit integers
(PRInt32, PRUint32). this would be especially handy for 0, since LL_ZERO can not
currently be compared with nsUint64 (ambiguity errors).

alternatively, for the 0 case, a bool isZero() const method might be sufficient...
QA Contact: xpcom
as the policy is now to use PRInt64/PRUint64 directly, this isn't useful anymore.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.