From patchwork Thu Jun 16 12:21:30 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexw X-Patchwork-Id: 11916 Received: from mailfe08.tele2.fr ([212.247.154.236] helo=swip.net) by www.linuxtv.org with esmtp (Exim 4.34) id 1DitOI-0006qh-0U for vdr@linuxtv.org; Thu, 16 Jun 2005 14:22:38 +0200 X-T2-Posting-ID: +HXRRNWzEo3oc98pfNq2SjJJB7Pze66U485MbHX2Peo= Received: from undercover.mine.nu ([80.170.22.187] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 4.3.2) with ESMTPS id 199504825 for vdr@linuxtv.org; Thu, 16 Jun 2005 14:22:33 +0200 Received: from undercover.mine.nu ([192.168.30.50]) (authenticated bits=0) by undercover.mine.nu (8.13.1/8.13.1) with ESMTP id j5GBNlHa017032 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 16 Jun 2005 13:23:48 +0200 From: Alexw Organization: None To: "Klaus Schmidinger's VDR" Date: Thu, 16 Jun 2005 14:21:30 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200506161421.30975.alexw@undercover.mine.nu> Subject: [vdr] softdevice compile fix for gcc > 3.x.x X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 12:22:38 -0000 Status: O X-Status: X-Keywords: X-UID: 3062 Hi, Here is a diff to get the softdevice plugin compiled with recent gcc version. Regards, Alex --- utils.c_ori 2005-06-16 12:56:32.000000000 +0200 +++ utils.c 2005-06-16 12:56:53.000000000 +0200 @@ -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