From cfcc58d96e4a4f775b1a8eefbbcf030ce1ba6c9f Mon Sep 17 00:00:00 2001 From: Mark Spencer 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: https://origsvn.digium.com/svn/asterisk/trunk@3552 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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