Commit 8d78e08f authored by evoskuil's avatar evoskuil

Problem: fn pointers are not bool (vc++ warning C4550).

parent 87fbe5a5
......@@ -50,7 +50,7 @@ bool zmq::timers_t::check_tag ()
int zmq::timers_t::add (size_t interval_, timers_timer_fn handler_, void *arg_)
{
if (!handler_) {
if (handler_ == NULL) {
errno = EFAULT;
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment