Mercurial > projects > dwt-mac
diff dwt/browser/FilePicker_1_8.d @ 7:e831403a80a9
Add 'cast' to casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:30:35 +0200 |
parents | 649b8e223d5a |
children | d8635bb48c7c |
line wrap: on
line diff
--- a/dwt/browser/FilePicker_1_8.d Wed Aug 27 14:10:03 2008 +0200 +++ b/dwt/browser/FilePicker_1_8.d Wed Aug 27 14:30:35 2008 +0200 @@ -29,15 +29,15 @@ public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} public int /*long*/ method2 (int /*long*/[] args) {return Release ();} - public int /*long*/ method3 (int /*long*/[] args) {return Init (args[0], args[1], (short)args[2]);} - public int /*long*/ method4 (int /*long*/[] args) {return AppendFilters ((int)/*64*/args[0]);} + public int /*long*/ method3 (int /*long*/[] args) {return Init (args[0], args[1], cast(short)args[2]);} + public int /*long*/ method4 (int /*long*/[] args) {return AppendFilters (cast(int)/*64*/args[0]);} public int /*long*/ method5 (int /*long*/[] args) {return AppendFilter (args[0], args[1]);} public int /*long*/ method6 (int /*long*/[] args) {return GetDefaultString (args[0]);} public int /*long*/ method7 (int /*long*/[] args) {return SetDefaultString (args[0]);} public int /*long*/ method8 (int /*long*/[] args) {return GetDefaultExtension (args[0]);} public int /*long*/ method9 (int /*long*/[] args) {return SetDefaultExtension (args[0]);} public int /*long*/ method10 (int /*long*/[] args) {return GetFilterIndex (args[0]);} - public int /*long*/ method11 (int /*long*/[] args) {return SetFilterIndex ((int)/*64*/args[0]);} + public int /*long*/ method11 (int /*long*/[] args) {return SetFilterIndex (cast(int)/*64*/args[0]);} public int /*long*/ method12 (int /*long*/[] args) {return GetDisplayDirectory (args[0]);} public int /*long*/ method13 (int /*long*/[] args) {return SetDisplayDirectory (args[0]);} public int /*long*/ method14 (int /*long*/[] args) {return GetFile (args[0]);}