mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Use of "private" as a field name in a header file messes with C++ projects
Reported by: chewbacca Patch by: casper (Closes issue #11401) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@90155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -180,7 +180,7 @@ static int pcm_write(struct ast_filestream *fs, struct ast_frame *f)
|
||||
|
||||
#ifdef REALTIME_WRITE
|
||||
if (s->fmt->format == AST_FORMAT_ALAW) {
|
||||
struct pcm_desc *pd = (struct pcm_desc *)fs->private;
|
||||
struct pcm_desc *pd = (struct pcm_desc *)fs->_private;
|
||||
struct stat stat_buf;
|
||||
unsigned long cur_time = get_time();
|
||||
unsigned long fpos = ( cur_time - pd->start_time ) * 8; /* 8 bytes per msec */
|
||||
|
Reference in New Issue
Block a user