diff options
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r-- | gcc/cp/decl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 6fc7bb5..5c36132 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -581,7 +581,7 @@ compare_options (p1, p2) const PTR p1; const PTR p2; { - return strcmp (*((char **) p1), *((char **) p2)); + return strcmp (*((const char *const *) p1), *((const char *const *) p2)); } /* Decode the string P as a language-specific option. |