# HG changeset patch # User bcoudurier # Date 1201738256 0 # Node ID c822991101827b4e33aa84b3c94f40e87fd9f140 # Parent 600f7baa119be107fb5535fbb2043ffe7a2c7ef9 cast to correct type, fix warning: apedec.c:859: warning: passing argument 1 of 's->dsp.bswap_buf' from incompatible pointer type diff -r 600f7baa119b -r c82299110182 apedec.c --- a/apedec.c Thu Jan 31 00:06:54 2008 +0000 +++ b/apedec.c Thu Jan 31 00:10:56 2008 +0000 @@ -856,7 +856,7 @@ if(!s->samples){ s->data = av_realloc(s->data, (buf_size + 3) & ~3); - s->dsp.bswap_buf(s->data, buf, buf_size >> 2); + s->dsp.bswap_buf((uint32_t*)s->data, (uint32_t*)buf, buf_size >> 2); s->ptr = s->last_ptr = s->data; s->data_end = s->data + buf_size;