DescriptionFix GCC 4.7 warnings, which are related to char being signed in GCC
("narrowing conversion ... inside { } is ill-formed in C++11").
* src/mksnapshot.cc: Cast "char" to "unsigned char" when outputting snapshot.
* test/cctest/test-regexp.cc: Use static_cast to uc16 as the char
literal is signed.
Committed: http://code.google.com/p/v8/source/detail?r=10241
Patch Set 1 #Patch Set 2 : Fix GCC 4.7 warnings, which are related to char being signed in GCC #
Total comments: 6
Patch Set 3 : Fix GCC 4.7 warnings, which are related to char being signed in GCC #
Messages
Total messages: 4 (0 generated)
|