From: Lars Op den Kamp Date: Thu, 2 Feb 2012 13:46:16 +0000 (+0100) Subject: cec: fixed compilation warnings X-Git-Tag: upstream/2.2.0~1^2~36^2~14 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6c1a84b8ace46872191383eff5c61be3ccf610d4;p=deb_libcec.git cec: fixed compilation warnings --- diff --git a/src/lib/CECProcessor.h b/src/lib/CECProcessor.h index c6d278f..3e98cc0 100644 --- a/src/lib/CECProcessor.h +++ b/src/lib/CECProcessor.h @@ -40,7 +40,7 @@ namespace CEC { class CLibCEC; - class IAdapterCommunication; + struct IAdapterCommunication; class CCECBusDevice; class CCECProcessor : public PLATFORM::CThread, public IAdapterCommunicationCallback diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index b324de2..cbdeddf 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -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); } }