[asterisk-commits] mvanbaak: branch mvanbaak/ast_frame_dataunion r117248 - /team/mvanbaak/ast_fr...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 19 16:57:18 CDT 2008


Author: mvanbaak
Date: Mon May 19 16:57:17 2008
New Revision: 117248

URL: http://svn.digium.com/view/asterisk?view=rev&rev=117248
Log:
AST_FRAME_SET_BUFFER should use ast_frame.data.ptr as well

Modified:
    team/mvanbaak/ast_frame_dataunion/include/asterisk/frame.h

Modified: team/mvanbaak/ast_frame_dataunion/include/asterisk/frame.h
URL: http://svn.digium.com/view/asterisk/team/mvanbaak/ast_frame_dataunion/include/asterisk/frame.h?view=diff&rev=117248&r1=117247&r2=117248
==============================================================================
--- team/mvanbaak/ast_frame_dataunion/include/asterisk/frame.h (original)
+++ team/mvanbaak/ast_frame_dataunion/include/asterisk/frame.h Mon May 19 16:57:17 2008
@@ -181,7 +181,7 @@
  */
 #define	AST_FRAME_SET_BUFFER(fr, _base, _ofs, _datalen)	\
 	{					\
-	(fr)->data = (char *)_base + (_ofs);	\
+	(fr)->data.ptr = (char *)_base + (_ofs);	\
 	(fr)->offset = (_ofs);			\
 	(fr)->datalen = (_datalen);		\
 	}




More information about the asterisk-commits mailing list