diff dwtx/jface/text/link/LinkedPosition.d @ 134:51e6e63f930e

Regex fix for casts
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:46:20 +0200
parents 7d818bd32d63
children 6dcb0baaa031
line wrap: on
line diff
--- a/dwtx/jface/text/link/LinkedPosition.d	Sun Aug 24 01:29:22 2008 +0200
+++ b/dwtx/jface/text/link/LinkedPosition.d	Sun Aug 24 01:46:20 2008 +0200
@@ -85,7 +85,7 @@
      */
     public bool equals(Object other) {
         if (other instanceof LinkedPosition) {
-            LinkedPosition p= (LinkedPosition) other;
+            LinkedPosition p= cast(LinkedPosition) other;
             return p.offset is offset && p.length is length && p.fDocument is fDocument;
         }
         return false;