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

Unified Diff: test/cctest/test-api.cc

Issue 334044: Landing http://codereview.chromium.org/339026 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 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: test/cctest/test-api.cc
===================================================================
--- test/cctest/test-api.cc (revision 3146)
+++ test/cctest/test-api.cc (working copy)
@@ -8593,7 +8593,7 @@
} else {
uint64_t stored_bits = DoubleToBits(stored_number);
// Check if quiet nan (bits 51..62 all set).
- CHECK_EQ(0xfff, (stored_bits >> 51) & 0xfff);
+ CHECK_EQ(0xfff, static_cast<int>((stored_bits >> 51) & 0xfff));
}
// Check that Date::New preserves non-NaNs in the date range and
@@ -8606,7 +8606,7 @@
} else {
uint64_t stored_bits = DoubleToBits(stored_date);
// Check if quiet nan (bits 51..62 all set).
- CHECK_EQ(0xfff, (stored_bits >> 51) & 0xfff);
+ CHECK_EQ(0xfff, static_cast<int>((stored_bits >> 51) & 0xfff));
}
}
}
« 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