Change ARRAY_SIZE to FIO_ARRAY_SIZE
[fio.git] / unittests / lib / num2str.c
index a3492a8d925aa0d24b4e8f33f9402a36777165d0..8f12cf83fea368987af06eddbfa0d9b9cf0b8dd5 100644 (file)
@@ -29,7 +29,7 @@ static void test_num2str(void)
        char *str;
        int i;
 
-       for (i = 0; i < ARRAY_SIZE(testcases); ++i) {
+       for (i = 0; i < FIO_ARRAY_SIZE(testcases); ++i) {
                p = &testcases[i];
                str = num2str(p->num, p->maxlen, p->base, p->pow2, p->unit);
                CU_ASSERT_STRING_EQUAL(str, p->expected);