diff options
Diffstat (limited to 'orc-test/orcarray.c')
-rw-r--r-- | orc-test/orcarray.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/orc-test/orcarray.c b/orc-test/orcarray.c index 992e888..c5ca362 100644 --- a/orc-test/orcarray.c +++ b/orc-test/orcarray.c @@ -80,8 +80,7 @@ orc_array_new (int n, int m, int element_size, int misalignment, if (alignment == 0) alignment = element_size; offset = (alignment * misalignment) & (ALIGNMENT - 1); - ar->data = ORC_PTR_OFFSET (ar->alloc_data, - ar->stride * EXTEND_ROWS + offset); + ar->data = ORC_PTR_OFFSET (data, ar->stride * EXTEND_ROWS + offset); return ar; } |