Build fix attempt after r170465.
[WebKit-https.git] / Source / WebCore / platform / mac / HIDGamepad.cpp
index 0e5a8257e6497c9a02534441aeef547cb127e0bc..a1049cbfa6e438fd59f5124a73d6d35131b12a2b 100644 (file)
@@ -75,7 +75,7 @@ void HIDGamepad::initElements()
 
 void HIDGamepad::initElementsFromArray(CFArrayRef elements)
 {
-    for (unsigned i = 0; i < CFArrayGetCount(elements); ++i) {
+    for (int i = 0; i < CFArrayGetCount(elements); ++i) {
         IOHIDElementRef element = (IOHIDElementRef)CFArrayGetValueAtIndex(elements, i);
         if (CFGetTypeID(element) != IOHIDElementGetTypeID())
             continue;