[Pkg-voip-commits] [janus] 130/282: Cast away const qualifier from a char ptr to avoid compiler warnings.

Jonas Smedegaard dr at jones.dk
Wed Dec 20 21:53:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.

commit 61a2c59db3db148acdc880fd3c76bfb368483735
Author: Alessandro Toppi <atoppi at meetecho.com>
Date:   Mon Oct 16 12:07:00 2017 +0200

    Cast away const qualifier from a char ptr to avoid compiler warnings.
---
 janus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/janus.c b/janus.c
index 1c606c7..154d4cd 100644
--- a/janus.c
+++ b/janus.c
@@ -1000,7 +1000,7 @@ int janus_process_incoming_request(janus_request *request) {
 					waited += 100000;
 					if(waited >= 3*G_USEC_PER_SEC) {
 						JANUS_LOG(LOG_VERB, "[%"SCNu64"]   -- Waited 3 seconds, that's enough!\n", handle->handle_id);
-						ret = janus_process_error_string(request, session_id, transaction_text, JANUS_ERROR_WEBRTC_STATE, "Still cleaning a previous session");
+						ret = janus_process_error_string(request, session_id, transaction_text, JANUS_ERROR_WEBRTC_STATE, (char *)"Still cleaning a previous session");
 						goto jsondone;
 					}
 				}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list