summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2004-12-20 21:14:45 +0000
committerDan Fandrich <dan@coneharvesters.com>2004-12-20 21:14:45 +0000
commit327b46ccede3e6c35a3866a24a2676e4355803e0 (patch)
tree84a672365ed055988164a1ae96f75b5357e90245 /src
parent80d301257c8b02dc2691fa8283bc02c1c84c06a3 (diff)
downloadcurl-327b46ccede3e6c35a3866a24a2676e4355803e0.tar.gz
Fixed a compile warning introduced by making the protocol table const. This
involves a binary-compatible change to the API struct curl_version_info_data
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index dc4ef6e44..e63dcecee 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2023,7 +2023,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
break;
case 'V':
{
- const char **proto;
+ const char * const *proto;
printf(CURL_ID "%s\n", curl_version());
if (curlinfo->protocols) {