From f6cbd1f4fe8440a22997e62eeedcfdb907dd9859 Mon Sep 17 00:00:00 2001 From: markster Date: Sat, 31 Jul 2004 20:31:11 +0000 Subject: Don't hard code the RTP payload type to 101 (bug #2192) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3552 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/asterisk/module.h b/include/asterisk/module.h index aba72980d..83f44ebe9 100755 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -158,7 +158,7 @@ void ast_unregister_atexit(void (*func)(void)); #define LOCAL_USER_ADD(u) { \ \ - if (!(u=malloc(sizeof(struct localuser)))) { \ + if (!(u=(struct localuser *)malloc(sizeof(struct localuser)))) { \ ast_log(LOG_WARNING, "Out of memory\n"); \ return -1; \ } \ -- cgit v1.2.3