fix compile warning

This commit is contained in:
James Laird
2013-04-02 22:55:25 +11:00
parent 4e59846703
commit 958a1612ed
+1 -1
View File
@@ -615,7 +615,7 @@ static void *rtsp_conversation_thread_func(void *vfd) {
int fd = *(int*)vfd;
socklen_t slen = sizeof(conn.remote);
fd = accept(fd, &conn.remote, &slen);
fd = accept(fd, (struct sockaddr *)&conn.remote, &slen);
if (fd < 0) {
perror("failed to accept connection");
goto shutdown;