Revision: 3147
Author: [email protected]
Date: Tue Oct 27 07:40:50 2009
Log: Landing http://codereview.chromium.org/339026

[email protected]
Review URL: http://codereview.chromium.org/334044
http://code.google.com/p/v8/source/detail?r=3147

Modified:
  /branches/bleeding_edge/test/cctest/test-api.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc     Tue Oct 27 05:26:21 2009
+++ /branches/bleeding_edge/test/cctest/test-api.cc     Tue Oct 27 07:40:50 2009
@@ -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));
      }
    }
  }

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to