Closed Bug 587496 Opened 10 years ago Closed 9 years ago

warning C4244: 'argument' : conversion from 'UChar' to 'unsigned char', possible loss of data

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

mozilla-central\js\src\yarr\pcre\pcre_internal.h(389) : warning C4244: 'argument' : conversion from 'UChar' to 'unsigned char', possible loss of data
mozilla-central\js\src\yarr\pcre\pcre_internal.h(394) : warning C4244: 'argument' : conversion from 'UChar' to 'unsigned char', possible loss of data
I get the above and also

d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(97) : warning C4244: 'initializing' : conversion from 'UChar' to 'char', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(98) : warning C4244: 'initializing' : conversion from 'UChar' to 'char', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(110) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(121) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(122) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(124) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(124) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(127) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(128) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(130) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(130) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexJIT.cpp(119) : warning C4244: 'initializing' : conversion from 'const UChar' to 'char', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexJIT.cpp(120) : warning C4244: 'initializing' : conversion from 'const UChar' to 'char', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexJIT.cpp(207) : warning C4244: 'initializing' : conversion from 'const UChar' to 'char', possible loss of data
So, what's the deal with yarr? If I have a fix for these, should I try to land it upstream, or what? (Might they already be fixed?)
Long gone.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.