compiler warning on linux
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 8 Mar 2013 22:18:33 +0000 (23:18 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 8 Mar 2013 22:18:33 +0000 (23:18 +0100)
src/lib/CECProcessor.cpp

index 38d5992541ad297cc82207ccc0ce404c1c5459a7..bfed4c3f53a43965fe5ee854240d00bbd7bd0c69 100644 (file)
@@ -249,7 +249,7 @@ void *CCECProcessor::Process(void)
         {
           libcec_parameter param;
           param.paramType = CEC_PARAMETER_TYPE_STRING;
         {
           libcec_parameter param;
           param.paramType = CEC_PARAMETER_TYPE_STRING;
-          param.paramData = "TV does not respond to CEC polls";
+          param.paramData = (void*)"TV does not respond to CEC polls";
           GetPrimaryClient()->Alert(CEC_ALERT_TV_POLL_FAILED, param);
         }
         tvPresentCheck.Init(TV_PRESENT_CHECK_INTERVAL);
           GetPrimaryClient()->Alert(CEC_ALERT_TV_POLL_FAILED, param);
         }
         tvPresentCheck.Init(TV_PRESENT_CHECK_INTERVAL);