diff options
author | Mark Spencer <markster@digium.com> | 2004-07-31 20:31:11 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-07-31 20:31:11 +0000 |
commit | cfcc58d96e4a4f775b1a8eefbbcf030ce1ba6c9f (patch) | |
tree | 6a11d81ed59ecf88a72cded0c8dfbc9d22482ca4 /include | |
parent | 096feeedddd2bbef4154c12df8af47e0e9cd96a2 (diff) |
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
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; \ } \ |