diff options
author | Corey Farrell <git@cfware.com> | 2017-11-19 14:28:41 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-11-19 13:31:58 -0600 |
commit | 53f42cc05288c62630fa7cf26e115abcfd6d2281 (patch) | |
tree | a643bc83c82c4de77d159da417147723f9afb62d /res/res_pjsip_registrar_expire.c | |
parent | 4181b6f3777655efa5f0523a8d2ab2b0e5e566fb (diff) |
res_pjsip: Fix warning by deferring implicit type cast.
Mac doesn't like the comparison of -1 to an enum, so store the result of
ast_sip_str_to_dtmf to an int so we can check for the negative return
value. ast_sip_str_to_dtmf returns an int so this is only delaying the
implicit type cast.
Change-Id: I0c262c1719ee951aae1f437d733a301cf5f8ad29
Diffstat (limited to 'res/res_pjsip_registrar_expire.c')
0 files changed, 0 insertions, 0 deletions