diff --git a/src/Platforms/C2000/UtestPlatform.cpp b/src/Platforms/C2000/UtestPlatform.cpp index 33cae4192..2683aa12d 100644 --- a/src/Platforms/C2000/UtestPlatform.cpp +++ b/src/Platforms/C2000/UtestPlatform.cpp @@ -49,7 +49,7 @@ extern "C" { #undef far #include "CppUTest/PlatformSpecificFunctions.h" -static jmp_buf test_exit_jmp_buf[10]; +static jmp_buf test_exit_jmp_buf[2]; static int jmp_buf_index = 0; #if USE_BUFFER_OUTPUT diff --git a/src/Platforms/Dos/UtestPlatform.cpp b/src/Platforms/Dos/UtestPlatform.cpp index 383902d69..4dd4257dd 100644 --- a/src/Platforms/Dos/UtestPlatform.cpp +++ b/src/Platforms/Dos/UtestPlatform.cpp @@ -49,7 +49,7 @@ #include "CppUTest/PlatformSpecificFunctions.h" -static jmp_buf test_exit_jmp_buf[10]; +static jmp_buf test_exit_jmp_buf[2]; static int jmp_buf_index = 0; TestOutput::WorkingEnvironment PlatformSpecificGetWorkingEnvironment() diff --git a/src/Platforms/Gcc/UtestPlatform.cpp b/src/Platforms/Gcc/UtestPlatform.cpp index 040f8068a..9de409403 100644 --- a/src/Platforms/Gcc/UtestPlatform.cpp +++ b/src/Platforms/Gcc/UtestPlatform.cpp @@ -58,7 +58,7 @@ #include "CppUTest/PlatformSpecificFunctions.h" -static jmp_buf test_exit_jmp_buf[10]; +static jmp_buf test_exit_jmp_buf[2]; static int jmp_buf_index = 0; // There is a possibility that a compiler provides fork but not waitpid. diff --git a/src/Platforms/Iar/UtestPlatform.cpp b/src/Platforms/Iar/UtestPlatform.cpp index fde094980..5d67d78c4 100644 --- a/src/Platforms/Iar/UtestPlatform.cpp +++ b/src/Platforms/Iar/UtestPlatform.cpp @@ -43,7 +43,7 @@ #undef strndup #include "CppUTest/PlatformSpecificFunctions.h" -static jmp_buf test_exit_jmp_buf[10]; +static jmp_buf test_exit_jmp_buf[2]; static int jmp_buf_index = 0; TestOutput::WorkingEnvironment PlatformSpecificGetWorkingEnvironment() diff --git a/src/Platforms/Keil/UtestPlatform.cpp b/src/Platforms/Keil/UtestPlatform.cpp index 8bff0c07a..3ff88b7df 100644 --- a/src/Platforms/Keil/UtestPlatform.cpp +++ b/src/Platforms/Keil/UtestPlatform.cpp @@ -45,7 +45,7 @@ #include "CppUTest/PlatformSpecificFunctions.h" -static jmp_buf test_exit_jmp_buf[10]; +static jmp_buf test_exit_jmp_buf[2]; static int jmp_buf_index = 0; TestOutput::WorkingEnvironment PlatformSpecificGetWorkingEnvironment() diff --git a/src/Platforms/Symbian/UtestPlatform.cpp b/src/Platforms/Symbian/UtestPlatform.cpp index 5f4b4cb90..08d82cc8a 100644 --- a/src/Platforms/Symbian/UtestPlatform.cpp +++ b/src/Platforms/Symbian/UtestPlatform.cpp @@ -36,7 +36,7 @@ #include #include "CppUTest/PlatformSpecificFunctions.h" -static jmp_buf test_exit_jmp_buf[10]; +static jmp_buf test_exit_jmp_buf[2]; static int jmp_buf_index = 0; int PlatformSpecificSetJmp(void (*function) (void* data), void* data) diff --git a/src/Platforms/VisualCpp/UtestPlatform.cpp b/src/Platforms/VisualCpp/UtestPlatform.cpp index 2967354a3..58dc6a64b 100644 --- a/src/Platforms/VisualCpp/UtestPlatform.cpp +++ b/src/Platforms/VisualCpp/UtestPlatform.cpp @@ -31,7 +31,7 @@ #define LOCALTIME(_tm, timer) memcpy(_tm, localtime(timer), sizeof(tm)); #endif -static jmp_buf test_exit_jmp_buf[10]; +static jmp_buf test_exit_jmp_buf[2]; static int jmp_buf_index = 0; static int VisualCppSetJmp(void (*function) (void* data), void* data) diff --git a/src/Platforms/armcc/UtestPlatform.cpp b/src/Platforms/armcc/UtestPlatform.cpp index d91aa224c..ba64696f1 100644 --- a/src/Platforms/armcc/UtestPlatform.cpp +++ b/src/Platforms/armcc/UtestPlatform.cpp @@ -46,7 +46,7 @@ #include "CppUTest/PlatformSpecificFunctions.h" -static jmp_buf test_exit_jmp_buf[10]; +static jmp_buf test_exit_jmp_buf[2]; static int jmp_buf_index = 0; TestOutput::WorkingEnvironment PlatformSpecificGetWorkingEnvironment()