Mercurial > projects > dwt-mac
diff dwt/browser/MozillaDelegate.d @ 7:e831403a80a9
Add 'cast' to casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:30:35 +0200 |
parents | 380af2bdd8e5 |
children | 5b53d338c709 |
line wrap: on
line diff
--- a/dwt/browser/MozillaDelegate.d Wed Aug 27 14:10:03 2008 +0200 +++ b/dwt/browser/MozillaDelegate.d Wed Aug 27 14:30:35 2008 +0200 @@ -66,10 +66,10 @@ // range.length = chars.length; // int encoding = OS.CFStringGetSystemEncoding (); // int[] size = new int[1]; - // int numChars = OS.CFStringGetBytes (cfString, range, encoding, (byte)'?', true, null, 0, size); + // int numChars = OS.CFStringGetBytes (cfString, range, encoding, cast(byte)'?', true, null, 0, size); // buffer = new byte [size[0] + (terminate ? 1 : 0)]; // if (numChars !is 0) { - // numChars = OS.CFStringGetBytes (cfString, range, encoding, (byte)'?', true, buffer, size[0], size); + // numChars = OS.CFStringGetBytes (cfString, range, encoding, cast(byte)'?', true, buffer, size[0], size); // } // OS.CFRelease (cfString); // }