# HG changeset patch # User michael # Date 1067026170 0 # Node ID 1f8d1e1173d835d1487ea6c1ba0b7e24d577d676 # Parent c5ec7ac5c053cd300c68c3b331e5c23cb3998908 Fixes GCC 3.3.2 warnings patch by (Panagiotis Issaris ) diff -r c5ec7ac5c053 -r 1f8d1e1173d8 adx.c --- a/adx.c Fri Oct 24 19:59:43 2003 +0000 +++ b/adx.c Fri Oct 24 20:09:30 2003 +0000 @@ -213,7 +213,7 @@ } static int adx_encode_frame(AVCodecContext *avctx, - unsigned char *frame, int buf_size, const void *data) + uint8_t *frame, int buf_size, void *data) { ADXContext *c = avctx->priv_data; const short *samples = data; @@ -326,7 +326,7 @@ } static int adx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - const uint8_t *buf0, int buf_size) + uint8_t *buf0, int buf_size) { ADXContext *c = avctx->priv_data; short *samples = data; diff -r c5ec7ac5c053 -r 1f8d1e1173d8 i386/motion_est_mmx.c --- a/i386/motion_est_mmx.c Fri Oct 24 19:59:43 2003 +0000 +++ b/i386/motion_est_mmx.c Fri Oct 24 20:09:30 2003 +0000 @@ -21,9 +21,9 @@ #include "../dsputil.h" static const __attribute__ ((aligned(8))) uint64_t round_tab[3]={ -0x0000000000000000, -0x0001000100010001, -0x0002000200020002, +0x0000000000000000ULL, +0x0001000100010001ULL, +0x0002000200020002ULL, }; static __attribute__ ((aligned(8), unused)) uint64_t bone= 0x0101010101010101LL;