I'm working my way through Beej's Tutorial, and have ran into a snag.

Code:
new_fd = accept(sockfd, (struct sockaddr *)&their_addr, &sin_size);
this portion of code is throwing some errors I'm not aware of.

invalid conversion from int* to socklen_t*
initializing argument 3 of int accept(int, sockaddr*, socklen_t*)

does anyone know why this is happening?