From 6e9f7cc2f64c9e659c6ca7cde6737f5d1d564b5e Mon Sep 17 00:00:00 2001 From: willson-chen Date: Mon, 14 Oct 2019 23:18:06 +0800 Subject: src/framing.c: close compile warning under windows whith msbuild Close the C4244 warning while compiling under windows with cmake+msbuild. Signed-off-by: Tristan Matthews --- src/framing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/framing.c') 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); -- cgit v1.2.1