Build fix.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jun 2006 17:37:32 +0000 (17:37 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jun 2006 17:37:32 +0000 (17:37 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14988 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/dom/Document.cpp

index 5dccc7b..55a3151 100644 (file)
@@ -3021,7 +3021,7 @@ void Document::shiftMarkers(Node *node, unsigned startOffset, int delta, Documen
             docDirty = true;
             
             // Marker moved, so previously-computed rendered rectangle is now invalid
-            rects[it - markers.begin()] = placeholderRectForMarker();
+            rects[(unsigned)(uintptr_t)(it - markers.begin())] = placeholderRectForMarker();
         }
     }