Index: channels/chan_local.c =================================================================== --- channels/chan_local.c (revision 293576) +++ channels/chan_local.c (working copy) @@ -141,7 +141,7 @@ unsigned int flags; /*!< Private flags */ char context[AST_MAX_CONTEXT]; /*!< Context to call */ char exten[AST_MAX_EXTENSION]; /*!< Extension to call */ - int reqformat; /*!< Requested format */ + format_t reqformat; /*!< Requested format */ struct ast_jb_conf jb_conf; /*!< jitterbuffer configuration for this local channel */ struct ast_channel *owner; /*!< Master Channel - Bridging happens here */ struct ast_channel *chan; /*!< Outbound channel - PBX is run here */ @@ -955,7 +955,7 @@ } /*! \brief Create a call structure */ -static struct local_pvt *local_alloc(const char *data, int format) +static struct local_pvt *local_alloc(const char *data, format_t format) { struct local_pvt *tmp = NULL; char *c = NULL, *opts = NULL;