# HG changeset patch # User bcoudurier # Date 1201737676 0 # Node ID 879b1015a20fbb31e1512e1ea287ecb9dbf8231e # Parent e092514394066894bcdf27366383588a9723a6ef cast to dest type, fix warning: 4xm.c:304: warning: initialization from incompatible pointer type diff -r e09251439406 -r 879b1015a20f 4xm.c --- a/4xm.c Thu Jan 31 00:00:08 2008 +0000 +++ b/4xm.c Thu Jan 31 00:01:16 2008 +0000 @@ -301,7 +301,7 @@ const int index= size2index[log2h][log2w]; const int h= 1<gb, block_type_vlc[1-(f->version>1)][index].table, BLOCK_TYPE_VLC_BITS, 1); - uint16_t *start= f->last_picture.data[0]; + uint16_t *start= (uint16_t*)f->last_picture.data[0]; uint16_t *end= start + stride*(f->avctx->height-h+1) - (1<=0 && code<=6);