Closed Bug 604450 Opened 14 years ago Closed 14 years ago

Silence more MSVC warnings

Categories

(Core :: JavaScript Engine, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

Attachments

(1 file)

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
Attached patch v1Splinter Review
Assignee: general → jorendorff
Attachment #483227 - Flags: review?(lw)
Review ping.
Attachment #483227 - Flags: review?(lw)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: