[asterisk-commits] mmichelson: branch group/asterisk-cpp r168425 - /team/group/asterisk-cpp/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jan 10 21:17:54 CST 2009


Author: mmichelson
Date: Sat Jan 10 21:17:53 2009
New Revision: 168425

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168425
Log:
fixedjitterbuf.c compiles


Modified:
    team/group/asterisk-cpp/main/fixedjitterbuf.c

Modified: team/group/asterisk-cpp/main/fixedjitterbuf.c
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/main/fixedjitterbuf.c?view=diff&rev=168425&r1=168424&r2=168425
==============================================================================
--- team/group/asterisk-cpp/main/fixedjitterbuf.c (original)
+++ team/group/asterisk-cpp/main/fixedjitterbuf.c Sat Jan 10 21:17:53 2009
@@ -62,7 +62,7 @@
 
 static inline struct fixed_jb_frame *alloc_jb_frame(struct fixed_jb *jb)
 {
-	return ast_calloc(1, sizeof(*jb));
+	return (struct fixed_jb_frame *) ast_calloc(1, sizeof(*jb));
 }
 
 static inline void release_jb_frame(struct fixed_jb *jb, struct fixed_jb_frame *frame)
@@ -99,7 +99,7 @@
 {
 	struct fixed_jb *jb;
 	
-	if (!(jb = ast_calloc(1, sizeof(*jb))))
+	if (!(jb = (struct fixed_jb *) ast_calloc(1, sizeof(*jb))))
 		return NULL;
 	
 	/* First copy our config */




More information about the asterisk-commits mailing list