瀏覽代碼

php : fixed bug

Franco Ponticelli 13 年之前
父節點
當前提交
5723b197a0
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;