Silence more MSVC warnings

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
8 years ago
8 years ago

People

(Reporter: jorendorff, Assigned: jorendorff)

Tracking

Other Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
js/src/jsarray.cpp(364) : warning C4244: 'argument' : conversion from 'jsdouble' to 'uintN', possible loss of data
js/src/jsdbgapi.cpp(118) : warning C4805: '!=' : unsafe mix of type 'bool' and type 'JSBool' in operation
js/src/jsemit.cpp(4468) : warning C4244: 'initializing' : conversion from 'unsigned long' to 'uint16', possible loss of data
js/src/jsobj.cpp(1211) : warning C4805: '&=' : unsafe mix of type 'JSBool' and type 'bool' in operation
js/src/jsobj.cpp(4226) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
js/src/jsscope.cpp(921) : warning C4242: '=' : conversion from 'uintN' to 'uint8', possible loss of data
js/src/jsscope.cpp(923) : warning C4242: '=' : conversion from 'intN' to 'int16', possible loss of data
js/src/jsscript.cpp(1033) : warning C4244: '=' : conversion from 'uint32' to 'uint16', possible loss of data
js/src/jsscript.cpp(1034) : warning C4244: '=' : conversion from 'uint32' to 'uint16', possible loss of data
(Assignee)

Comment 1

8 years ago
Created attachment 483227 [details] [diff] [review]
v1
Assignee: general → jorendorff
Attachment #483227 - Flags: review?(lw)
(Assignee)

Comment 2

8 years ago
Review ping.
(Assignee)

Updated

8 years ago
Attachment #483227 - Flags: review?(lw)
(Assignee)

Updated

8 years ago
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.