Browse Source

Fixed invert in doubleToI64

Nicolas Cannasse 3 years ago
parent
commit
e507ab83e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/hl/_std/haxe/io/FPHelper.hx

+ 1 - 1
std/hl/_std/haxe/io/FPHelper.hx

@@ -46,7 +46,7 @@ class FPHelper {
 	public static function doubleToI64(v:Float):Int64 {
 		helper.setF64(0, v);
 		#if (hl_ver >= version("1.12.0") && !hl_legacy32)
-		return Int64.make(helper.getI32(0),helper.getI32(4));
+		return Int64.make(helper.getI32(4),helper.getI32(0));
 		#else
 		var i64 = i64tmp;
 		@:privateAccess {