OSDN Git Service

Fix a compiler warning in handleTouchEvent()
authorSteve Block <steveblock@google.com>
Wed, 20 Apr 2011 12:11:26 +0000 (13:11 +0100)
committerSteve Block <steveblock@google.com>
Wed, 20 Apr 2011 17:04:12 +0000 (18:04 +0100)
Change-Id: I6aeafd3d83bbb114164445e7d9f6da0fbc0589f5

WebKit/android/jni/WebViewCore.cpp

index f56d89c..4bba71a 100644 (file)
@@ -3079,7 +3079,7 @@ bool WebViewCore::handleTouchEvent(int action, Vector<int>& ids, Vector<IntPoint
         return 0;
     }
 
-    for (unsigned c = 0; c < points.size(); c++) {
+    for (int c = 0; c < static_cast<int>(points.size()); c++) {
         points[c].setX(points[c].x() - m_scrollOffsetX);
         points[c].setY(points[c].y() - m_scrollOffsetY);