Browse Source

Incorrect cast in haxe.Int64.getLow() (java target)

Eugene Veretennikov 11 years ago
parent
commit
247d85c068
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/java/_std/haxe/Int64.hx

+ 1 - 1
std/java/_std/haxe/Int64.hx

@@ -37,7 +37,7 @@ private typedef NativeInt64 = Int;
 
 	public static inline function getLow( x : Int64 ) : Int
 	{
-		return cast (x.asNative() & untyped __java__("0xFFFFFFFFL"));
+		return cast (x.asNative() & untyped __java__("0xFFFFFFFFL"), Int);
 	}
 
 	public static inline function getHigh( x : Int64 ) : Int