Browse Source

fixed issue #690

Nicolas Cannasse 13 năm trước cách đây
mục cha
commit
8ff3d5730d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/js/_std/IntHash.hx

+ 1 - 1
std/js/_std/IntHash.hx

@@ -55,7 +55,7 @@
 
 	public function keys() : Iterator<Int> {
 		var a = new Array();
-		untyped __js__("for( x in this.h ) a.push(x)");
+		untyped __js__("for( x in this.h ) a.push(x|0)");
 		return a.iterator();
 	}