Closed
Bug 717526
Opened 14 years ago
Closed 14 years ago
a lot of warning on nsStringAPI.h on win64
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: m_kato, Assigned: m_kato)
Details
Attachments
(1 file)
|
1.20 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
https://tbpl.mozilla.org/php/getParsedLog.php?id=8484949&tree=Firefox&full=1
e:\builds\moz2_slave\m-cen-w64\build\xpcom\glue\nsStringAPI.h(1325) : warning C4244: 'argument' : conversion from '__int64' to 'PRUint32', possible loss of data
e:\builds\moz2_slave\m-cen-w64\build\xpcom\glue\nsStringAPI.h(1363) : warning C4244: 'argument' : conversion from '__int64' to 'PRUint32', possible loss of data
Attachment #587959 -
Flags: review?(dbaron)
Comment on attachment 587959 [details] [diff] [review]
fix
I suppose I really consider this a bug that we're using PRUint32 where we should be using size_t. However, r=dbaron, though I'd prefer if you also add
NS_ABORT_IF_FALSE(PRUint32(end - start) == end - start, "string too long");
Attachment #587959 -
Flags: review?(dbaron) → review+
| Assignee | ||
Comment 2•14 years ago
|
||
Assignee: nobody → m_kato
Whiteboard: [inbound]
Comment 3•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1a9bebba9dc2
No need for the [inbound], thanks
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla12
Updated•5 years ago
|
Component: String → XPCOM
You need to log in
before you can comment on or make changes to this bug.
Description
•