summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/cygwin.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c644bde9a68..4e59d8dc8b1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-30 Roger Sayle <roger@eyesopen.com>
+
+ * config/i386/cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast
+ argv to the appropriate type.
+
2006-01-30 Zdenek Dvorak <dvorakz@suse.cz>
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Remove
diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
index 5a09b737bec..02d004c11b7 100644
--- a/gcc/config/i386/cygwin.h
+++ b/gcc/config/i386/cygwin.h
@@ -204,7 +204,7 @@ void mingw_scan (int, const char * const *, char **);
#define GCC_DRIVER_HOST_INITIALIZATION \
do \
{ \
- mingw_scan(argc, argv, (char **) &spec_machine); \
+ mingw_scan(argc, (const char * const *) argv, (char **) &spec_machine); \
} \
while (0)
#else
@@ -224,7 +224,7 @@ do \
add_prefix (&startfile_prefixes,\
concat (standard_startfile_prefix, "w32api", NULL),\
"GCC", PREFIX_PRIORITY_LAST, 0, NULL);\
- mingw_scan(argc, argv, &spec_machine); \
+ mingw_scan(argc, (const char * const *) argv, &spec_machine); \
} \
while (0)
#endif