zeromq/czmq — pull request #651 by hintjens (2014-09-12 22:32:27+00:00)
Title: Problem: zsock_option.c:78 fails on MSVC

Some confusion in the code, passing a polymorphic socket reference to a
method that accepts only zsock_t *.

Solution: change zsock_type_str() to accept a polymorphic reference and
resolve properly to get the socket type.