From 7094b9ed315d61e7b027a5641f34c2ad367bbe30 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 5 Apr 2007 20:40:21 +0200 Subject: [PATCH] plugin.c: Take in account that `pthread_t' is a pointer under Darwin. --- src/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.c b/src/plugin.c index 7aef8737..cf4af74a 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -266,7 +266,7 @@ static void stop_threads (void) { ERROR ("plugin: stop_threads: pthread_join failed."); } - read_threads[i] = -1; + read_threads[i] = (pthread_t) 0; } sfree (read_threads); read_threads_num = 0; -- 2.30.2