diff options
Diffstat (limited to 'sim/arm/wrapper.c')
-rw-r--r-- | sim/arm/wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index efbeef9..01f88d1 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -740,7 +740,7 @@ sim_target_parse_command_line (int argc, char ** argv) { int i; - for (i = sizeof options / sizeof options[0]; i--;) + for (i = ARRAY_SIZE (options); i--;) if (strncmp (ptr, options[i].swi_option, strlen (options[i].swi_option)) == 0) { |