OSDN Git Service

Fix a compiler warning
authorSteve Block <steveblock@google.com>
Tue, 5 Oct 2010 12:05:26 +0000 (13:05 +0100)
committerSteve Block <steveblock@google.com>
Wed, 6 Oct 2010 13:49:33 +0000 (14:49 +0100)
Change-Id: Iccf9b5bf8f39491b737e6d7e4e82237a4874c6d7

WebKit/android/jni/WebViewCore.cpp

index 9f0d260..68b1e01 100644 (file)
@@ -3553,7 +3553,7 @@ static jboolean HandleTouchEvent(JNIEnv *env, jobject obj, jint action,
     jint* ptrXArray = env->GetIntArrayElements(xArray, 0);
     jint* ptrYArray = env->GetIntArrayElements(yArray, 0);
     Vector<IntPoint> points(count);
-    for (unsigned c = 0; c < count; c++) {
+    for (int c = 0; c < count; c++) {
         points[c].setX(ptrXArray[c]);
         points[c].setY(ptrYArray[c]);
     }