mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user