[Asterisk-cvs] asterisk utils.c,1.79,1.80

kpfleming kpfleming
Mon Oct 31 10:29:07 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv3095

Modified Files:
	utils.c 
Log Message:
silence compiler warning


Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- utils.c	26 Oct 2005 18:54:24 -0000	1.79
+++ utils.c	31 Oct 2005 15:21:12 -0000	1.80
@@ -194,7 +194,7 @@
 		if (dots != 3)
 			return NULL;
 		memset(hp, 0, sizeof(struct ast_hostent));
-		hp->hp.h_addr_list = hp->buf;
+		hp->hp.h_addr_list = (void *) hp->buf;
 		hp->hp.h_addr = hp->buf + sizeof(void *);
 		if (inet_pton(AF_INET, host, hp->hp.h_addr) > 0)
 			return &hp->hp;




More information about the svn-commits mailing list