fixed two more accidental double derefs
authorLars Op den Kamp <lars@opdenkamp.eu>
Sat, 25 Feb 2012 10:07:56 +0000 (11:07 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sat, 25 Feb 2012 10:08:03 +0000 (11:08 +0100)
src/lib/adapter/USBCECAdapterCommunication.h
src/lib/platform/sockets/socket.h

index d1f033fbfac90cc9f698a494776447543893e9f8..8cc701f094d353c017a3271f2d02358c91cc247f 100644 (file)
@@ -106,7 +106,7 @@ namespace CEC
     PLATFORM::SyncedBuffer<CCECAdapterMessage *> m_inBuffer;
     PLATFORM::SyncedBuffer<CCECAdapterMessage *> m_outBuffer;
     PLATFORM::CMutex                             m_mutex;
-    PLATFORM::CCondition<volatile bool &>        m_rcvCondition;
+    PLATFORM::CCondition<volatile bool>          m_rcvCondition;
     volatile bool                                m_bHasData;
     uint8_t                                      m_iLineTimeout;
     uint16_t                                     m_iFirmwareVersion;
index 369fbe4c9f78101ba6cef915e1bff37e4737f8e2..f56d515c5e76676f95573555db07ad41523fe887 100644 (file)
@@ -220,9 +220,9 @@ namespace PLATFORM
       m_condition.Signal();
     }
 
-    _Socket *          m_socket;
-    CMutex             m_mutex;
-    CCondition<bool &> m_condition;
-    bool               m_bIsIdle;
+    _Socket *        m_socket;
+    CMutex           m_mutex;
+    CCondition<bool> m_condition;
+    bool             m_bIsIdle;
   };
 };