diff options
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; \ } \ |