aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/vms/vms.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/vms/vms.cc')
-rw-r--r--gcc/config/vms/vms.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/vms/vms.cc b/gcc/config/vms/vms.cc
index 5d565e3..d0d44ba 100644
--- a/gcc/config/vms/vms.cc
+++ b/gcc/config/vms/vms.cc
@@ -99,7 +99,7 @@ static const struct vms_crtl_name vms_crtl_names[] =
/* Number of entires in the above array. */
-#define NBR_CRTL_NAMES (sizeof (vms_crtl_names) / sizeof (*vms_crtl_names))
+#define NBR_CRTL_NAMES (ARRAY_SIZE (vms_crtl_names))
/* List of aliased identifiers. They must be persistent across gc. */