From 327b46ccede3e6c35a3866a24a2676e4355803e0 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 20 Dec 2004 21:14:45 +0000 Subject: 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 --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3