summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorKaren Langford <karen.langford@oracle.com>2012-01-11 18:40:29 +0100
committerKaren Langford <karen.langford@oracle.com>2012-01-11 18:40:29 +0100
commitdacaaf22a3f132df5573fe8e58c0617c30c5e9fc (patch)
treeb3b218f6c2580873b21042724b195cf2a8171607 /unittest
parente5cb28793385566e22d5a82efdf3f6cb8dbe5cbc (diff)
downloadmariadb-git-dacaaf22a3f132df5573fe8e58c0617c30c5e9fc.tar.gz
Fixes required to build on AIX
Diffstat (limited to 'unittest')
-rw-r--r--unittest/mysys/bitmap-t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/mysys/bitmap-t.c b/unittest/mysys/bitmap-t.c
index 0127b7b86f4..9a5337c79b5 100644
--- a/unittest/mysys/bitmap-t.c
+++ b/unittest/mysys/bitmap-t.c
@@ -429,7 +429,7 @@ my_bool test_intersect(MY_BITMAP *map, uint bitsize)
{
uint bitsize2 = 1 + get_rand_bit(MAX_TESTED_BITMAP_SIZE - 1);
MY_BITMAP map2;
- uint32 map2buf[bitsize2];
+ uint32 map2buf[MAX_TESTED_BITMAP_SIZE];
uint i, test_bit1, test_bit2, test_bit3;
if (bitmap_init(&map2, map2buf, bitsize2, FALSE))
{