ref: a1b9b21146e544dae584ca3d17212101481b9162
parent: 76394d18253d10725b2e016a070e8d0d103922cb
	author: Mark Harris <mark.hsj@gmail.com>
	date: Tue Jan  2 19:27:34 EST 2018
	
opusinfo: Fix compiler warning
--- a/src/opusinfo.c
+++ b/src/opusinfo.c
@@ -802,7 +802,7 @@
 {int ret;
char *buffer;
- int bytes;
+ size_t bytes;
     while((ret = ogg_sync_pageseek(ogsync, page)) <= 0) {         if(ret < 0) {@@ -814,11 +814,11 @@
/* zero return, we didn't have enough data to find a whole page, read */
buffer = ogg_sync_buffer(ogsync, CHUNK);
bytes = fread(buffer, 1, CHUNK, f);
-        if(bytes <= 0) {+        if(bytes == 0) {ogg_sync_wrote(ogsync, 0);
return 0;
}
- ogg_sync_wrote(ogsync, bytes);
+ ogg_sync_wrote(ogsync, (long)bytes);
*written += bytes;
}
--
⑨