diff options
author | Terry Wilson <twilson@digium.com> | 2011-05-25 00:52:21 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2011-05-25 00:52:21 +0000 |
commit | 17f9a9154ee86a314cefa60c284794f1c4ce23bd (patch) | |
tree | 54229f84f0b7866d0b3d44e8e1765ca2b33228b7 /addons/chan_mobile.c | |
parent | 024e4bd0f7ebf08692716d18fe14a685373f41d9 (diff) |
Merged revisions 320716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r320716 | twilson | 2011-05-24 17:49:10 -0700 (Tue, 24 May 2011) | 4 lines
Cast data as char * before using S_OR
This is required for compiling successfully under dev mode
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@320717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'addons/chan_mobile.c')
-rw-r--r-- | addons/chan_mobile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/chan_mobile.c b/addons/chan_mobile.c index dd48f933e..5495c7f22 100644 --- a/addons/chan_mobile.c +++ b/addons/chan_mobile.c @@ -1185,7 +1185,7 @@ static int mbl_devicestate(void *data) int res = AST_DEVICE_INVALID; struct mbl_pvt *pvt; - device = ast_strdupa(S_OR(data, "")); + device = ast_strdupa(S_OR((char *) data, "")); ast_debug(1, "Checking device state for device %s\n", device); |