From ceacd0bab9296f02d79c3ec07f8e6fcb8ff383f9 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Tue, 24 Mar 2020 12:55:07 +0100 Subject: [PATCH] s/count/af_count/ Thanks lovell! --- libvips/iofuncs/threadpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvips/iofuncs/threadpool.c b/libvips/iofuncs/threadpool.c index 433b17e1..996c8c5f 100644 --- a/libvips/iofuncs/threadpool.c +++ b/libvips/iofuncs/threadpool.c @@ -382,7 +382,7 @@ get_num_processors( void ) /* Prefer affinity-based result, if available */ if( af_count > 0 ) - nproc = count; + nproc = af_count; } } #endif /*OS_WIN32*/