src/test_broadcast_var.c : Fix OSX stack check error.

This commit is contained in:
Erik de Castro Lopo 2010-10-03 21:51:28 +11:00
parent 229e66bfb0
commit 76bc251810
2 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,9 @@
* src/test_broadcast_var.c tests/command_test.c
Tweak SF_BROADCAST_INFO tests.
* src/test_broadcast_var.c
Fix OSX stack check error.
2010-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sds.c

View File

@ -28,7 +28,7 @@
#define BCAST_MAX 512
typedef SF_BROADCAST_INFO_VAR (512) SF_BROADCAST_INFO_512 ;
typedef SF_BROADCAST_INFO_VAR (BCAST_MAX) SF_BROADCAST_INFO_512 ;
static void
fill_coding_history (SF_BROADCAST_INFO_512 * bi)
@ -67,7 +67,7 @@ test_broadcast_var (void)
print_test_name ("Testing broadcast_var_set ") ;
for (k = 64 ; k < BCAST_MAX + 20 ; k++)
for (k = 64 ; k < BCAST_MAX ; k++)
{
SF_BROADCAST_INFO_512 bi ;