diff options
Diffstat (limited to 'tests/bindletools/bindle-array-sorted.c')
| -rw-r--r-- | tests/bindletools/bindle-array-sorted.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bindletools/bindle-array-sorted.c b/tests/bindletools/bindle-array-sorted.c index 5d0365f..ea2a891 100644 --- a/tests/bindletools/bindle-array-sorted.c +++ b/tests/bindletools/bindle-array-sorted.c | |||
| @@ -663,7 +663,7 @@ my_test_insert( | |||
| 663 | bindle_tests_verbose(opts, "testing bindle_badd( %7s, %9s, %s ) [%s] ...", action_name, merge_type, compar_name, (((iteration)) ? "duplicate" : "unique")); | 663 | bindle_tests_verbose(opts, "testing bindle_badd( %7s, %9s, %s ) [%s] ...", action_name, merge_type, compar_name, (((iteration)) ? "duplicate" : "unique")); |
| 664 | for(x = 0; (x < dat_len); x++) | 664 | for(x = 0; (x < dat_len); x++) |
| 665 | { | 665 | { |
| 666 | if (bindle_badd((void **)listp, list_lenp, sizeof(MyData *), &src[x], arrayopt, compar, NULL, &realloc) == -1) | 666 | if (bindle_badd(&src[x], (void **)listp, list_lenp, sizeof(MyData *), arrayopt, compar, NULL, &realloc) == -1) |
| 667 | return(bindle_tests_error(opts, NULL, "bindle_badd(%s): returned error", action_name)); | 667 | return(bindle_tests_error(opts, NULL, "bindle_badd(%s): returned error", action_name)); |
| 668 | len = (iteration*dat_len) + x + 1; | 668 | len = (iteration*dat_len) + x + 1; |
| 669 | if ( ((iteration)) && (!(arrayopt & BNDL_BMERGE)) ) | 669 | if ( ((iteration)) && (!(arrayopt & BNDL_BMERGE)) ) |
