diff options
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 488b64c3c..431f57144 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -270,7 +270,7 @@ struct ast_channel_spy_list; struct ast_channel_whisper_buffer; #define DEBUGCHAN_FLAG 0x80000000 -#define FRAMECOUNT_INC(x) ( ((x) & DEBUGCHAN_FLAG) | ((x++) & ~DEBUGCHAN_FLAG) ) +#define FRAMECOUNT_INC(x) ( ((x) & DEBUGCHAN_FLAG) | (((x)+1) & ~DEBUGCHAN_FLAG) ) enum ast_channel_adsicpe { AST_ADSI_UNKNOWN, |