Browse Source

php : fixed bug

Franco Ponticelli 13 năm trước cách đây
mục cha
commit
5723b197a0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/haxe/Int32.hx

+ 1 - 1
std/haxe/Int32.hx

@@ -35,7 +35,7 @@ class Int32 {
 	}
 
 	static inline function clamp( x : Int32 ) : Int32 {
-		#if (js || flash8)
+		#if (js || flash8 || php)
 		return cast ((cast x) | 0); // force to-int convertion
 		#else
 		return x;