cec: fixed compilation warnings
[deb_libcec.git] / src / testclient / main.cpp
index b324de214a408fe03678c94af0ceb06eed937fe6..cbdeddf7c8053714835f5427b40264353a9a8f12 100644 (file)
@@ -198,7 +198,7 @@ void ListDevices(ICECAdapter *parser)
   else
   {
     PrintToStdOut("Found devices: %d\n", iDevicesFound);
-    for (unsigned int iDevicePtr = 0; iDevicePtr < iDevicesFound; iDevicePtr++)
+    for (int8_t iDevicePtr = 0; iDevicePtr < iDevicesFound; iDevicePtr++)
       PrintToStdOut("device:        %d\npath:          %s\ncom port:      %s\n", iDevicePtr + 1, devices[iDevicePtr].path, devices[iDevicePtr].comm);
   }
 }