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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jan 10 19:44:34 CST 2009


Author: mmichelson
Date: Sat Jan 10 19:44:33 2009
New Revision: 168415

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168415
Log:
chanvars.c compiles. That one was a breeze


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

Modified: team/group/asterisk-cpp/main/chanvars.c
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/main/chanvars.c?view=diff&rev=168415&r1=168414&r2=168415
==============================================================================
--- team/group/asterisk-cpp/main/chanvars.c (original)
+++ team/group/asterisk-cpp/main/chanvars.c Sat Jan 10 19:44:33 2009
@@ -42,9 +42,9 @@
 	int value_len = strlen(value) + 1;
 
 #ifdef MALLOC_DEBUG
-	if (!(var = __ast_calloc(sizeof(*var) + name_len + value_len, sizeof(char), file, lineno, function))) {
+	if (!(var = (struct ast_var_t *) __ast_calloc(sizeof(*var) + name_len + value_len, sizeof(char), file, lineno, function))) {
 #else
-	if (!(var = ast_calloc(sizeof(*var) + name_len + value_len, sizeof(char)))) {
+	if (!(var = (struct ast_var_t *) ast_calloc(sizeof(*var) + name_len + value_len, sizeof(char)))) {
 #endif
 		return NULL;
 	}




More information about the asterisk-commits mailing list