summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-31 04:13:08 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-31 04:13:08 +0000
commitf942e0529244dccabdfc96b9ab5723f4c7b9e092 (patch)
treeaca38ec2371115823e67cd079ff0922686da6677 /gcc/config
parent15c4cb614402964a4cd3ec9e9d3170b95318d303 (diff)
downloadgcc-f942e0529244dccabdfc96b9ab5723f4c7b9e092.tar.gz
* config/i386/cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast
argv to the appropriate type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110427 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/cygwin.h4
1 files changed, 2 insertions, 2 deletions
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