Closed Bug 238303 Opened 21 years ago Closed 21 years ago

warnings about conversion from 'int32' to 'char' and 'jschar'

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 file, 1 obsolete file)

r:/mozilla\js\src\jsdtoa.c(2683) : warning C4244: '=' : conversion from 'int32' to 'char', possible loss of data r:/mozilla\js\src\jsregexp.c(275) : warning C4244: 'initializing' : conversion from 'int32' to 'jschar', possible loss of data r:/mozilla\js\src\jsregexp.c(284) : warning C4244: 'initializing' : conversion from 'int32' to 'jschar', possible loss of data r:/mozilla\js\src\jsstr.c(743) : warning C4244: '=' : conversion from 'int32' to 'jschar', possible loss of data r:/mozilla\js\src\jsstr.c(790) : warning C4244: '=' : conversion from 'int32' to 'jschar', possible loss of data
Comment on attachment 144514 [details] [diff] [review] cast dig (as done a few lines above) and cast back to jschar for JS_TOUPPER/JS_TOLOWER i don't think i really need reviews for these changes, but the tree is frozen, so a review won't hurt.
Attachment #144514 - Flags: review?(brendan)
80th column preservation in jsstr.h. /be
Attachment #144514 - Attachment is obsolete: true
.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Attachment #144514 - Flags: review?(brendan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: