[MPlayer-cvslog] r27807 - trunk/stream/stream_dvd.c

diego subversion at mplayerhq.hu
Mon Oct 20 11:55:39 CEST 2008


Author: diego
Date: Mon Oct 20 11:55:38 2008
New Revision: 27807

Log:
Replace typeof by __typeof__, the former is a non-portable GNU extension.


Modified:
   trunk/stream/stream_dvd.c

Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c	(original)
+++ trunk/stream/stream_dvd.c	Mon Oct 20 11:55:38 2008
@@ -398,7 +398,7 @@ read_next:
         // See also gcc problem report PR c/7847:
         // http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc&cmd=view+audit-trail&pr=7847
         for(i=0;i<9;i++) {	// check if all values zero:
-          typeof(d->dsi_pack.sml_agli.data[i].address) tmp_addr;
+          __typeof__(d->dsi_pack.sml_agli.data[i].address) tmp_addr;
           memcpy(&tmp_addr,&d->dsi_pack.sml_agli.data[i].address,sizeof(tmp_addr));
           if((skip=tmp_addr)!=0) break;
         }



More information about the MPlayer-cvslog mailing list