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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Sep 1 11:08:28 CEST 2004


Hi,

> > > -        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?

If I knew I would have fixed it ;-)
I just dislike it because this "fix" IMHO doesn't fix anything, it just
hides the problem (the const qualfier if discarded).

Greetings,
Reimar Döffinger




More information about the MPlayer-cvslog mailing list