Silence compiler warning when building 64-bit (on Windows)
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 00:40:09 +0000 (00:40 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 00:40:09 +0000 (00:40 +0000)
Reviewed by Geoffrey Garen.

* jit/JSInterfaceJIT.h: Add a static cast for assignment.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156934 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/JSInterfaceJIT.h

index 7aa0aac..a8b267e 100644 (file)
@@ -1,3 +1,11 @@
+2013-10-04  Brent Fulgham  <bfulgham@apple.com>
+
+        Silence compiler warning when building 64-bit (on Windows)
+
+        Reviewed by Geoffrey Garen.
+
+        * jit/JSInterfaceJIT.h: Add a static cast for assignment.
+
 2013-10-04  Nadav Rotem  <nrotem@apple.com>
 
         FTL: Add support for ValueToInt32(bool(x))
index c5fadad..0a1b474 100644 (file)
@@ -192,7 +192,7 @@ namespace JSC {
         static const unsigned Int32Tag = 0xffffffff;
         COMPILE_ASSERT(Int32Tag == JSValue::Int32Tag, Int32Tag_out_of_sync);
 #else
-        static const unsigned Int32Tag = TagTypeNumber >> 32;
+        static const unsigned Int32Tag = static_cast<unsigned>(TagTypeNumber >> 32);
 #endif
         inline Jump emitLoadJSCell(unsigned virtualRegisterIndex, RegisterID payload);
         inline Jump emitLoadInt32(unsigned virtualRegisterIndex, RegisterID dst);