Reviewed by Hyatt.
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Sep 2006 23:59:27 +0000 (23:59 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Sep 2006 23:59:27 +0000 (23:59 +0000)
        Fixing build bustage with cast to int.

        * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::lastSelectedListIndex):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16667 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/html/HTMLSelectElement.cpp

index c8ac432569b76af2a198e079ad7d1d6a78862161..b91ee73411ae0f74d6a8fa17b803a636b803661f 100644 (file)
@@ -1,3 +1,11 @@
+2006-09-29  Adele Peterson  <adele@apple.com>
+
+        Reviewed by Hyatt.
+
+        Fixing build bustage with cast to int.
+
+        * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::lastSelectedListIndex):
+
 2006-09-29  Adele Peterson  <adele@apple.com>
 
         Fixing accidental include.
index 89375d14b9588692bc4e8a68de5f156c80d2ef5a..98b9245c477d17fc3ecca5d9394783c85984169a 100644 (file)
@@ -137,7 +137,7 @@ int HTMLSelectElement::lastSelectedListIndex() const
             }
         }
     }
-    return found ? index : -1;
+    return found ? (int) index : -1;
 }
 
 void HTMLSelectElement::deselectItems(HTMLOptionElement* excludeElement)