Fix build break on VS2015 Update 1
authorJan Kotas <jkotas@microsoft.com>
Thu, 12 Nov 2015 15:09:12 +0000 (07:09 -0800)
committerJan Kotas <jkotas@microsoft.com>
Thu, 12 Nov 2015 20:43:43 +0000 (12:43 -0800)
src/jit/compiler.hpp

index e4168b0..e9f09ea 100644 (file)
@@ -105,7 +105,7 @@ template<typename T>
 inline
 T    genFindLowestBit(T value)
 {
-    return (value & -value);
+    return (value & (0 - value));
 }
 
 /*****************************************************************************/