diff options
Diffstat (limited to 'gcc/analyzer/function-set.cc')
-rw-r--r-- | gcc/analyzer/function-set.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/analyzer/function-set.cc b/gcc/analyzer/function-set.cc index 8d9237d..be04186 100644 --- a/gcc/analyzer/function-set.cc +++ b/gcc/analyzer/function-set.cc @@ -166,7 +166,7 @@ test_stdio_example () "getwc_unlocked", "putc_unlocked" }; - const size_t count = sizeof(example) / sizeof (example[0]); + const size_t count = ARRAY_SIZE (example); function_set fs (example, count); fs.assert_sorted (); fs.assert_sane (); |