Mercurial > projects > dwt-linux
diff dwt/internal/image/LEDataInputStream.d @ 240:ce446666f5a2
Update to SWT 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 12 May 2008 19:13:01 +0200 |
parents | f2e04420fd6c |
children | c0d810de7093 |
line wrap: on
line diff
--- a/dwt/internal/image/LEDataInputStream.d Mon May 12 15:36:37 2008 +0200 +++ b/dwt/internal/image/LEDataInputStream.d Mon May 12 19:13:01 2008 +0200 @@ -156,9 +156,9 @@ public int readInt() { byte[4] buf = void; read(buf); - return ((((((buf[3] & 0xFF) << 24) | - (buf[2] & 0xFF)) << 16) | - (buf[1] & 0xFF)) << 8) | + return ((buf[3] & 0xFF) << 24) | + ((buf[2] & 0xFF) << 16) | + ((buf[1] & 0xFF) << 8) | (buf[0] & 0xFF); }