changeset 4522:895b076101a8 libavcodec

Fix one warning
author mbardiaux
date Wed, 14 Feb 2007 09:57:41 +0000
parents 891590781d9e
children 6af87c369a8e
files jpeg_ls.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jpeg_ls.c	Tue Feb 13 23:45:28 2007 +0000
+++ b/jpeg_ls.c	Wed Feb 14 09:57:41 2007 +0000
@@ -480,7 +480,7 @@
                 src += s->picture.linesize[0];
             }
         }else{
-            uint16_t *src = s->picture.data[0];
+            uint16_t *src = (uint16_t*) s->picture.data[0];
 
             for(i = 0; i < s->height; i++){
                 for(x = 0; x < w; x++){