Mercurial > mplayer.hg
changeset 27773:55571c85e40e
Replace typeof by __typeof__, the former is a non-portable GNU extension.
author | diego |
---|---|
date | Mon, 20 Oct 2008 09:55:38 +0000 |
parents | 145dec34e7d8 |
children | 61d7742bcb75 |
files | stream/stream_dvd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvd.c Sun Oct 19 20:02:21 2008 +0000 +++ b/stream/stream_dvd.c Mon Oct 20 09:55:38 2008 +0000 @@ -398,7 +398,7 @@ // 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; }