diff dwt/browser/InputStream.d @ 7:e831403a80a9

Add 'cast' to casts
author Frank Benoit <benoit@tionex.de>
date Wed, 27 Aug 2008 14:30:35 +0200
parents 1a8b3cb347e0
children d8635bb48c7c
line wrap: on
line diff
--- a/dwt/browser/InputStream.d	Wed Aug 27 14:10:03 2008 +0200
+++ b/dwt/browser/InputStream.d	Wed Aug 27 14:30:35 2008 +0200
@@ -45,8 +45,8 @@
         public int /*long*/ method2 (int /*long*/[] args) {return Release ();}
         public int /*long*/ method3 (int /*long*/[] args) {return Close ();}
         public int /*long*/ method4 (int /*long*/[] args) {return Available (args[0]);}
-        public int /*long*/ method5 (int /*long*/[] args) {return Read (args[0], (int)/*64*/args[1], args[2]);}
-        public int /*long*/ method6 (int /*long*/[] args) {return ReadSegments (args[0], args[1], (int)/*64*/args[2], args[3]);}
+        public int /*long*/ method5 (int /*long*/[] args) {return Read (args[0], cast(int)/*64*/args[1], args[2]);}
+        public int /*long*/ method6 (int /*long*/[] args) {return ReadSegments (args[0], args[1], cast(int)/*64*/args[2], args[3]);}
         public int /*long*/ method7 (int /*long*/[] args) {return IsNonBlocking (args[0]);}
     };
 }