From dfe95b3f2c8d33a9402a9ed13f58054b8489918a Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Sun, 14 Dec 2014 01:15:49 +0000 Subject: [PATCH] Fixed MSVC static analyser warning about writing off the end of an array. --- src/win32/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/thread.cpp b/src/win32/thread.cpp index e312ba6b..e02124f3 100644 --- a/src/win32/thread.cpp +++ b/src/win32/thread.cpp @@ -637,7 +637,7 @@ namespace boost bool interruptible_wait(detail::win32::handle handle_to_wait_for,detail::timeout target_time) { - detail::win32::handle handles[3]={0}; + detail::win32::handle handles[4]={0}; unsigned handle_count=0; unsigned wait_handle_index=~0U; #if defined BOOST_THREAD_PROVIDES_INTERRUPTIONS