summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwillson-chen <willson.chenwx@gmail.com>2019-10-14 23:18:06 +0800
committerTristan Matthews <tmatth@videolan.org>2020-04-25 19:30:24 -0400
commit6e9f7cc2f64c9e659c6ca7cde6737f5d1d564b5e (patch)
treed1ae338ff434fe83a738e02003e2ef84bf4fc5fd
parent68ca3841567247ac1f7850801a164f58738d8df9 (diff)
downloadogg-git-6e9f7cc2f64c9e659c6ca7cde6737f5d1d564b5e.tar.gz
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>
-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);