# HG changeset patch # User kostya # Date 1233500620 0 # Node ID 42e258f2b931294642081ab12a2bca8c43b7a596 # Parent 052c676c433be22ee9868b45f43c4de7922aeeb3 Silence two pointer assignment compiler warnings in rv34.c diff -r 052c676c433b -r 42e258f2b931 rv34.c --- a/rv34.c Sun Feb 01 14:44:51 2009 +0000 +++ b/rv34.c Sun Feb 01 15:03:40 2009 +0000 @@ -223,7 +223,7 @@ int ones; static const int cbp_masks[3] = {0x100000, 0x010000, 0x110000}; static const int shifts[4] = { 0, 2, 8, 10 }; - int *curshift = shifts; + const int *curshift = shifts; int i, t, mask; code = get_vlc2(gb, vlc->cbppattern[table].table, 9, 2); @@ -883,7 +883,7 @@ } if(!right && up){ topleft = dst[-stride + 3] * 0x01010101; - prev = &topleft; + prev = (uint8_t*)&topleft; } r->h.pred4x4[itype](dst, prev, stride); }