[Mplayer-cvslog] CVS: main/libvo vo_gl.c,1.45,1.46

Michael Niedermayer michaelni at gmx.at
Wed Sep 1 01:54:01 CEST 2004


Hi

On Tuesday 31 August 2004 22:52, Dominik 'Rathann' Mierzejewski wrote:
> On Monday, 30 August 2004 at 21:35, Reimar Döffinger wrote:
> > Hi,
> >
> > > Modified Files:
> > > 	vo_gl.c
> > > Log Message:
> > > small gcc warning fixes
> >
> > I'm the maintainer for this code, please don't change it without asking!
>
> Sorry, won't happen again.
>
> > > -        char *parse_pos = &arg[0];
> > > +        char *parse_pos = (char *)&arg[0];
> >
> > I'm not sure if I like this brute-force approach for removing warnings,
> > not to mention that I find it useless.
>
> How else do you propose to fix the "assignment from incompatible pointer
> type" warning?
ignore it?

or 

-char *parse_pos = &arg[0];
+const char *parse_pos = &arg[0];

[...]
-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en




More information about the MPlayer-cvslog mailing list