diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-10 22:24:46 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-10 22:24:46 +0000 |
commit | 86decad65240ea9e1bea177f1091f80d08b62402 (patch) | |
tree | 891926faf7fc4d3510245f09b7614d29d1f63924 /libavcodec/sparc/vis.h | |
parent | ad40380240a4db5ba7effb18b2951e977d5034a4 (diff) | |
download | ffmpeg-86decad65240ea9e1bea177f1091f80d08b62402.tar.gz |
sparc: fix a few pages of cast warnings
Originally committed as revision 22441 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sparc/vis.h')
-rw-r--r-- | libavcodec/sparc/vis.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/sparc/vis.h b/libavcodec/sparc/vis.h index 301bebf6b0..adee91bd6f 100644 --- a/libavcodec/sparc/vis.h +++ b/libavcodec/sparc/vis.h @@ -223,9 +223,9 @@ do { register void *__mem __asm__("g1"); \ /* Alignment instructions. */ -static inline void *vis_alignaddr(void *_ptr) +static inline const void *vis_alignaddr(const void *_ptr) { - register void *ptr __asm__("g1"); + register const void *ptr __asm__("g1"); ptr = _ptr; |