softdevice compile fix for gcc > 3.x.x
Commit Message
Hi,
Here is a diff to get the softdevice plugin compiled with recent gcc version.
Regards,
Alex
Comments
Alexw schrieb:
> Hi,
>
> Here is a diff to get the softdevice plugin compiled with recent gcc version.
>
Sorry, for the long delay, I was quite busy during the last time and I
forgot about your patch. Now I was reminded and I finally applied it.
Thanks for the patch!
Martin
On Sunday 26 June 2005 22:23, Martin Wache wrote:
> Alexw schrieb:
> > Hi,
> >
> > Here is a diff to get the softdevice plugin compiled with recent gcc
> > version.
>
> Sorry, for the long delay, I was quite busy during the last time and I
> forgot about your patch. Now I was reminded and I finally applied it.
> Thanks for the patch!
>
> Martin
>
;-) You're welcome.
Alex
> _______________________________________________
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
@@ -403,8 +403,8 @@
MOVNTQ" %%mm6, 48(%1)\n"
MOVNTQ" %%mm7, 56(%1)\n"
:: "r" (from), "r" (to) : "memory");
- ((const unsigned char *)from)+=64;
- ((unsigned char *)to)+=64;
+ from=((const unsigned char *) from)+64;
+ to=((unsigned char *)to)+64;
}
// printf(" %d %d\n", (int)from&1023, (int)to&1023);
@@ -492,8 +492,8 @@
MOVNTQ" %%mm6, 48(%1)\n"
MOVNTQ" %%mm7, 56(%1)\n"
:: "r" (from), "r" (to) : "memory");
- ((const unsigned char *)from)+=64;
- ((unsigned char *)to)+=64;
+ from=((const unsigned char *) from)+64;
+ to=((unsigned char *)to)+64;
}
#ifdef USE_MMX2