[asterisk-commits] twilson: branch 1.8 r320716 - /branches/1.8/addons/chan_mobile.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue May 24 19:49:15 CDT 2011
Author: twilson
Date: Tue May 24 19:49:10 2011
New Revision: 320716
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=320716
Log:
Cast data as char * before using S_OR
This is required for compiling successfully under dev mode
Modified:
branches/1.8/addons/chan_mobile.c
Modified: branches/1.8/addons/chan_mobile.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/chan_mobile.c?view=diff&rev=320716&r1=320715&r2=320716
==============================================================================
--- branches/1.8/addons/chan_mobile.c (original)
+++ branches/1.8/addons/chan_mobile.c Tue May 24 19:49:10 2011
@@ -1188,7 +1188,7 @@
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);
More information about the asterisk-commits
mailing list