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 <tmatth@videolan.org>
This commit is contained in:
willson-chen 2019-10-14 23:18:06 +08:00 committed by Tristan Matthews
parent 68ca384156
commit 6e9f7cc2f6

View File

@ -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);