From 6c1a84b8ace46872191383eff5c61be3ccf610d4 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 2 Feb 2012 14:46:16 +0100 Subject: [PATCH] cec: fixed compilation warnings --- src/lib/CECProcessor.h | 2 +- src/testclient/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.34.1