cec: fix win32 build
[deb_libcec.git] / src / lib / CECProcessor.cpp
index dc094ac4f9c8079ff11c40c85ca49dd1840a1a32..7afafafd623561c9efd61255f4823cc946e6747d 100644 (file)
@@ -616,7 +616,7 @@ CCECBusDevice *CCECProcessor::GetDeviceByType(cec_device_type type) const
 {
   CCECBusDevice *device = NULL;
 
-  for (unsigned int iPtr = 0; iPtr < 16; iPtr++)
+  for (uint8_t iPtr = 0; iPtr < 16; iPtr++)
   {
     if (m_busDevices[iPtr]->m_type == type && m_logicalAddresses[iPtr])
     {