浏览代码

fix with Haxe/GIT

ncannasse 10 年之前
父节点
当前提交
1d92b50b8d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/res/Sound.hx

+ 1 - 1
hxd/res/Sound.hx

@@ -104,7 +104,7 @@ class Sound extends Resource {
 		var MAGIC_DELAY = 2257;
 		var position = bytesPosition;
 		while( true ) {
-			var size = BUFFER_SIZE - (out.position >> 3);
+			var size = BUFFER_SIZE - ((out.position >> 3) : Int);
 			if( size == 0 ) break;
 			if( position + size >= mp3SampleCount ) {
 				var read = mp3SampleCount - position;