summaryrefslogtreecommitdiff
path: root/src/framing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/framing.c')
-rw-r--r--src/framing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framing.c b/src/framing.c
index 8360119..ef81912 100644
--- a/src/framing.c
+++ b/src/framing.c
@@ -1564,7 +1564,7 @@ void test_pack(const int *pl, const int **headers, int byteskip,
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);