Merged revisions 302318 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Tue, 18 Jan 2011 22:06:55 +0000 (22:06 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 18 Jan 2011 22:06:55 +0000 (22:06 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r302318 | rmudgett | 2011-01-18 16:04:14 -0600 (Tue, 18 Jan 2011) | 1 line

  Use the expanded format type instead of plain int.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@302319 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/features.c

index 0cf4216..4711fca 100644 (file)
@@ -743,7 +743,7 @@ static void check_goto_on_transfer(struct ast_channel *chan)
 
 static struct ast_channel *feature_request_and_dial(struct ast_channel *caller,
        const char *caller_name, struct ast_channel *requestor,
 
 static struct ast_channel *feature_request_and_dial(struct ast_channel *caller,
        const char *caller_name, struct ast_channel *requestor,
-       struct ast_channel *transferee, const char *type, int format, void *data,
+       struct ast_channel *transferee, const char *type, format_t format, void *data,
        int timeout, int *outstate, const char *language);
 
 /*!
        int timeout, int *outstate, const char *language);
 
 /*!
@@ -2971,7 +2971,7 @@ static void set_config_flags(struct ast_channel *chan, struct ast_channel *peer,
  */
 static struct ast_channel *feature_request_and_dial(struct ast_channel *caller,
        const char *caller_name, struct ast_channel *requestor,
  */
 static struct ast_channel *feature_request_and_dial(struct ast_channel *caller,
        const char *caller_name, struct ast_channel *requestor,
-       struct ast_channel *transferee, const char *type, int format, void *data,
+       struct ast_channel *transferee, const char *type, format_t format, void *data,
        int timeout, int *outstate, const char *language)
 {
        int state = 0;
        int timeout, int *outstate, const char *language)
 {
        int state = 0;