diff -Naru libogg-1.3.4.orig/src/framing.c libogg-1.3.4/src/framing.c --- libogg-1.3.4.orig/src/framing.c 2019-08-12 11:56:41.000000000 -0700 +++ libogg-1.3.4/src/framing.c 2019-12-08 15:03:21.609933200 -0800 @@ -1564,7 +1564,7 @@ byteskipcount=byteskip; } - ogg_sync_wrote(&oy,next-buf); + ogg_sync_wrote(&oy,(long)(next-buf)); while(1){ int ret=ogg_sync_pageout(&oy,&og_de);