[Ffmpeg-devel] [PATCH] pointer targets differ in signedness

Måns Rullgård mru
Sun Sep 10 19:36:16 CEST 2006


This patch gets rid of many of the "pointer targets differ in
signedness" warnings generated by gcc4.

Please, can those with knowledge of the files listed below check that
I didn't do something stupid?  Needless to say, regression tests pass
with these changes.

 libavcodec/4xm.c              |    4 ++--
 libavcodec/cyuv.c             |    6 +++---
 libavcodec/error_resilience.c |    6 +++---
 libavcodec/h263.c             |    5 +++--
 libavcodec/h264.c             |    6 +++---
 libavcodec/indeo3.c           |    2 +-
 libavcodec/mjpeg.c            |    2 +-
 libavcodec/mpeg12.c           |    8 +++++---
 libavcodec/mpeg12data.h       |    4 ++--
 libavcodec/mpegaudiodec.c     |    2 +-
 libavcodec/mpegvideo.c        |    2 +-
 libavcodec/mpegvideo.h        |   10 +++++-----
 libavcodec/msmpeg4.c          |    2 +-
 libavcodec/parser.c           |    2 +-
 libavcodec/svq1.c             |    4 ++--
 libavcodec/vc1.c              |   14 +++++++-------
 libavcodec/vp3.c              |    2 +-
 libavcodec/wmadec.c           |    2 +-
 libavformat/amr.c             |    4 ++--
 libavformat/asf.c             |    2 +-
 libavformat/avformat.h        |    2 +-
 libavformat/avienc.c          |    9 ++++-----
 libavformat/matroska.c        |    2 +-
 libavformat/mpeg.c            |    4 ++--
 libavformat/ogg2.c            |    2 +-
 libavformat/ogg2.h            |    4 ++--
 libavformat/oggparsevorbis.c  |    2 +-
 libavformat/rtp.c             |    2 +-
 libavformat/rtpproto.c        |    3 ++-
 libavformat/udp.c             |    3 ++-
 30 files changed, 63 insertions(+), 59 deletions(-)

-- 
M?ns Rullg?rd
mru at inprovide.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pointer-sign.patch
Type: text/x-patch
Size: 20558 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060910/2931a1cd/attachment.bin>



More information about the ffmpeg-devel mailing list