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
This commit is contained in:
Mark Spencer
2004-07-31 20:31:11 +00:00
parent 096feeeddd
commit cfcc58d96e
2 changed files with 4 additions and 3 deletions

View File

@@ -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; \
} \