diff options
Diffstat (limited to 'gcc/spellcheck.cc')
-rw-r--r-- | gcc/spellcheck.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/spellcheck.cc b/gcc/spellcheck.cc index 3e58344..c7bb012 100644 --- a/gcc/spellcheck.cc +++ b/gcc/spellcheck.cc @@ -489,7 +489,7 @@ static const char * const test_data[] = { static void test_metric_conditions () { - const int num_test_cases = sizeof (test_data) / sizeof (test_data[0]); + const int num_test_cases = ARRAY_SIZE (test_data); for (int i = 0; i < num_test_cases; i++) { |