Permalink
Browse files

fixed compilation

  • Loading branch information...
arut committed Aug 30, 2012
1 parent acf6ea0 commit 3c2e29f215fb09e5b4cb29040d1e5e092ce73849
Showing with 1 addition and 1 deletion.
  1. +1 −1 ngx_rtmp_auto_push_module.c
@@ -199,7 +199,7 @@ ngx_rtmp_auto_push_init_process(ngx_cycle_t *cycle)
}
}
- if (bind(s, sun, sizeof(*sun)) == -1) {
+ if (bind(s, (struct sockaddr *) sun, sizeof(*sun)) == -1) {
ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno,
ngx_nonblocking_n " worker_socket bind failed");
goto sock_error;

0 comments on commit 3c2e29f

Please sign in to comment.