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/branches/1.4@83432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-09-21 14:37:20 +00:00
parent 9ffb2fe0cf
commit d6b8fb4dc0
22 changed files with 142 additions and 144 deletions

View File

@@ -1130,7 +1130,7 @@ void ast_cdr_submit_batch(int shutdown)
}
}
static int submit_scheduled_batch(void *data)
static int submit_scheduled_batch(const void *data)
{
ast_cdr_submit_batch(0);
/* manually reschedule from this point in time */