aboutsummaryrefslogtreecommitdiffstats
path: root/addons
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-25 00:52:21 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2011-05-25 00:52:21 +0000
commitc925e221d204bc4401a4a6eaabfbb9368f45e3cd (patch)
tree54229f84f0b7866d0b3d44e8e1765ca2b33228b7 /addons
parent9925da046ca741f0f8d9dd2d08952ad979b12266 (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: http://svn.digium.com/svn/asterisk/trunk@320717 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'addons')
-rw-r--r--addons/chan_mobile.c2
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);