Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/image/JPEGDecoder.d @ 112:9f4c18c268b2
Update to compile and execute with dmd 2.052.
author | kntroh |
---|---|
date | Wed, 16 Mar 2011 21:53:53 +0900 |
parents | d46287db17ed |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/image/JPEGDecoder.d Sat Nov 13 14:15:51 2010 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/image/JPEGDecoder.d Wed Mar 16 21:53:53 2011 +0900 @@ -2348,7 +2348,7 @@ // #endif } else { /* We only need a single-MCU buffer. */ - foreach( inout el; coef.MCU_buffer ){ + foreach( ref el; coef.MCU_buffer ){ el = new short[](DCTSIZE2); } // coef.consume_data = dummy_consume_data;