aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2002-10-21 20:24:57 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2002-10-21 20:24:57 +0000
commit97d05bfdd2480b13c36ea215b45030168c613b04 (patch)
tree0ed8c8a532e5ab6d57554e6870c2e75b3661617f /gcc/c-opts.c
parentaaee784acf0a3a5817e35b70ba930c625ce8057e (diff)
downloadgcc-97d05bfdd2480b13c36ea215b45030168c613b04.zip
gcc-97d05bfdd2480b13c36ea215b45030168c613b04.tar.gz
gcc-97d05bfdd2480b13c36ea215b45030168c613b04.tar.bz2
c-opts.c (missing_arg): Use cl_options[opt_index].opt_code instead of just opt_index as switch expression.
* c-opts.c (missing_arg): Use cl_options[opt_index].opt_code instead of just opt_index as switch expression. * calls.c (store_one_arg): Change type of 'excess_align' to unsigned int. * profile.c (output_gcov_string): Change type of 'temp' to size_t. From-SVN: r58381
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r--gcc/c-opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index 2de8faa..5a781df 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -339,7 +339,7 @@ missing_arg (opt_index)
{
const char *opt_text = cl_options[opt_index].opt_text;
- switch (opt_index)
+ switch (cl_options[opt_index].opt_code)
{
case OPT_Wformat_eq:
case OPT_d: