[PATCH] Re: [linux-dvb] TechnoTrend USB C1100
Peter Beutner
p.beutner at gmx.net
Thu Jun 23 19:01:14 CEST 2005
Gavin Hamill schrieb:
>>+static int alps_tdbe2_pll_set(struct dvb_frontend* fe, struct
>
> dvb_frontend_parameters* params)
>
>>+{
>>+ struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv;
>>
>>Please remove the unneeded cast from void *, too.
>
>
> I have no idea what this means. I made the patch simply by crufting the code
> from ttpci/budget.c and changing names as needed.
>
> A little push in the right direction would be appreciated.
Just remove the cast here, that means:
+ struct ttusb* ttusb = fe->dvb->priv;
instead of
+ struct ttusb* ttusb = (struct ttusb*) fe->dvb->priv;
Void pointers dont need to be explicitly casted.
Peter
>
> Cheers,
> Gavin.
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
>
More information about the linux-dvb
mailing list