From 9f64905d4e2fe7372cc574338e50579455c11602 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 21 Sep 2007 14:40:10 +0000 Subject: Merged revisions 83432 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83432 | russell | 2007-09-21 09:37:20 -0500 (Fri, 21 Sep 2007) | 4 lines gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of changes gets all of Asterisk (minus chan_alsa for now) to compile with gcc 4.2. (closes issue #10774, patch from qwell) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83433 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_h323.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'channels/chan_h323.c') diff --git a/channels/chan_h323.c b/channels/chan_h323.c index 7299fbc61..03f05d775 100644 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -311,9 +311,9 @@ static void oh323_destroy_peer(struct oh323_peer *peer) ast_free(peer); } -static int oh323_simulate_dtmf_end(void *data) +static int oh323_simulate_dtmf_end(const void *data) { - struct oh323_pvt *pvt = data; + struct oh323_pvt *pvt = (struct oh323_pvt *)data; if (pvt) { ast_mutex_lock(&pvt->lock); -- cgit v1.2.3