ソースを参照

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;