cec: fix LibCecSharp compilation
[deb_libcec.git] / src / LibCecSharp / LibCecSharp.cpp
index 6e4895e8cbf9119acfac0a25e9152869c4e8de71..03c0009cea20e7bc51dd1d26449eb1ffac5417dd 100644 (file)
@@ -646,9 +646,9 @@ public:
     return m_libCec->IsActiveDeviceType((cec_device_type)type);
   }
 
-  bool SetHDMIPort(uint8_t port)
+  bool SetHDMIPort(CecLogicalAddress address, uint8_t port)
   {
-    return m_libCec->SetHDMIPort(port);
+    return m_libCec->SetHDMIPort((cec_logical_address)address, port);
   }
 
   uint8_t VolumeUp(bool wait)