Unverified Commit 9f7a6aac authored by BJovke's avatar BJovke Committed by GitHub

Merge pull request #2869 from evoskuil/master

Problem: fn pointers are not bool (vc++ warning C4550).
parents 87fbe5a5 8d78e08f
......@@ -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