Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: src/utils.h

Issue 905383003: Fix issue when compiling with gcc 4.6. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comment addressed. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils.h
diff --git a/src/utils.h b/src/utils.h
index 6a43c77228c217e0170a00b2dc17cb7c11240af5..1c9e3a682446beed63760035f1c9673f35bc96ae 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<size_t>(kMinComplexConvertMemCopy)) {
MemCopyUint16Uint8(dest, src, chars);
} else {
MemCopyUint16Uint8Wrapper(dest, src, chars);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698