changeset 2437:8a30df830ad6 libavcodec

x86_64 pointer typecast fix by (Martin Drab <drab kepler.fjfi.cvut cz>)
author michael
date Tue, 18 Jan 2005 01:01:54 +0000
parents 86d14aebd527
children e98b5e0de86b
files h263.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Mon Jan 17 18:25:32 2005 +0000
+++ b/h263.c	Tue Jan 18 01:01:54 2005 +0000
@@ -3009,7 +3009,7 @@
     uint8_t *start= pbBufPtr(&s->pb);
     uint8_t *end= s->pb.buf_end;
     int size= end - start;
-    int pb_size = (((int)start + size/3)&(~3)) - (int)start;
+    int pb_size = (((long)start + size/3)&(~3)) - (long)start;
     int tex_size= (size - 2*pb_size)&(~3);
     
     set_put_bits_buffer_size(&s->pb, pb_size);