diff dwt/internal/cocoa/WebView.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 30a762abda2a
line wrap: on
line diff
--- a/dwt/internal/cocoa/WebView.d	Wed Aug 27 14:10:03 2008 +0200
+++ b/dwt/internal/cocoa/WebView.d	Wed Aug 27 14:30:35 2008 +0200
@@ -554,7 +554,7 @@
 }
 
 public float textSizeMultiplier() {
-    return (float)OS.objc_msgSend_fpret(this.id, OS.sel_textSizeMultiplier);
+    return cast(float)OS.objc_msgSend_fpret(this.id, OS.sel_textSizeMultiplier);
 }
 
 public void toggleContinuousSpellChecking(id sender) {