[PATCH] Re: [linux-dvb] TechnoTrend USB C1100

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> 
> 




[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux