Revision: 17522
Author:   [email protected]
Date:     Wed Nov  6 13:20:14 2013 UTC
Log:      Fix windows build after r17521.

[email protected]

Review URL: https://codereview.chromium.org/61943002
http://code.google.com/p/v8/source/detail?r=17522

Modified:
 /branches/bleeding_edge/src/utils.h

=======================================
--- /branches/bleeding_edge/src/utils.h Fri Oct 25 11:10:28 2013 UTC
+++ /branches/bleeding_edge/src/utils.h Wed Nov  6 13:20:14 2013 UTC
@@ -1083,7 +1083,7 @@
// The strange typing in ASSERT is necessary to avoid stupid warnings, see:
     // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43680
ASSERT(static_cast<int>(element) < static_cast<int>(sizeof(T) * CHAR_BIT));
-    return 1 << element;
+    return static_cast<T>(1) << element;
   }

   T bits_;

--
--
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/groups/opt_out.

Reply via email to