fixed win32 build
[deb_libcec.git] / src / lib / LibCECC.cpp
index 8309c3c60d0318b2137ca516c2d4a4884a61e2f8..fc5c9c2126cc38be180b3ef3acc3f9cdddc49efd 100644 (file)
@@ -411,7 +411,7 @@ uint8_t cec_audio_get_status(void)
 int8_t cec_detect_adapters(cec_adapter_descriptor *deviceList, uint8_t iBufSize, const char *strDevicePath, int bQuickScan)
 {
   if (cec_parser)
-    return cec_parser->DetectAdapters(deviceList, iBufSize, strDevicePath, bQuickScan);
+    return cec_parser->DetectAdapters(deviceList, iBufSize, strDevicePath, bQuickScan == 1);
   return -1;
 }