Explorar el Código

fix with Haxe/GIT

ncannasse hace 10 años
padre
commit
1d92b50b8d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;