C4233/C4267 warning for jsobj.h, vm/String.h and jsatom.h

RESOLVED FIXED in mozilla8

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: m_kato, Assigned: m_kato)

Tracking

Trunk
mozilla8
x86_64
Windows Vista
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [inbound])

Attachments

(1 attachment)

there is a lot of warning when including js header.

C:\Workspace\hg.mozilla.org\mozilla-win64\js\src\jsobj.h(597) : warning C4244: 'return' : conversion from 'const jsuword' to 'uint32', possible loss of data
c:\workspace\hg.mozilla.org\mozilla-win64\js\src\vm/String.h(586) : warning C4267: 'return' : conversion from 'size_t' to 'intN', possible loss of data
c:\workspace\hg.mozilla.org\mozilla-win64\js\src\jsatom.h(118) : warning C4267: 'return' : conversion from 'size_t' to 'js::HashNumber', possible loss of data
Created attachment 546720 [details] [diff] [review]
fix
(Assignee)

Updated

6 years ago
Attachment #546720 - Flags: review?(luke)

Updated

6 years ago
Attachment #546720 - Flags: review?(luke) → review+
http://hg.mozilla.org/integration/mozilla-inbound/rev/b2e3241c7f04
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/b2e3241c7f04
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.