--- a/include/cecloader.h +++ b/include/cecloader.h @@ -172,7 +172,7 @@ if (!g_libCEC) { std::cout << dlerror() << std::endl; - return NULL; + return false; } } @@ -181,7 +181,7 @@ if (!LibCecBootloader) { std::cout << "cannot find CECStartBootloader" << std::endl; - return NULL; + return false; } bool bReturn = LibCecBootloader();