Reviewers: jochen (slow), ulan,
Message:
This fixes the build for some of our old hardware.
Description:
Fix issue when compiling with gcc 4.6.
BUG=
Please review this at https://codereview.chromium.org/905383003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/utils.h
Index: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index
6a43c77228c217e0170a00b2dc17cb7c11240af5..7c3f8707b0ec8aa87efb36acd8d2f3cef09d3688
100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -1435,7 +1435,7 @@ void CopyCharsUnsigned(uint8_t* dest, const uint8_t*
src, size_t chars) {
void CopyCharsUnsigned(uint16_t* dest, const uint8_t* src, size_t chars) {
- if (chars >= kMinComplexConvertMemCopy) {
+ if (chars >= static_cast<unsigned>(kMinComplexConvertMemCopy)) {
MemCopyUint16Uint8(dest, src, chars);
} else {
MemCopyUint16Uint8Wrapper(dest, src, chars);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.