diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-25 16:06:32 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-25 16:06:32 +0100 |
commit | c409e163f16c7c76f65a081953f9ae3224fee2b2 (patch) | |
tree | 3f52403624aa374957be9aec5dd5abe8e063dff1 | |
parent | 9f1fd7b94b29172f5dbdb707e01f47b741c5f4d8 (diff) | |
download | curl-bagder/curl-sorted-features.tar.gz |
fixup avoid const to please MSVC ?bagder/curl-sorted-features
-rw-r--r-- | src/tool_help.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_help.c b/src/tool_help.c index 515d77f54..414e00b21 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -574,13 +574,13 @@ void tool_version_info(void) puts(""); /* newline */ } if(curlinfo->features) { - const char *featp[ sizeof(feats) / sizeof(feats[0]) + 1]; + char *featp[ sizeof(feats) / sizeof(feats[0]) + 1]; size_t numfeat = 0; unsigned int i; printf("Features:"); for(i = 0; i < sizeof(feats)/sizeof(feats[0]); i++) { if(curlinfo->features & feats[i].bitmask) - featp[numfeat++] = feats[i].name; + featp[numfeat++] = (char *)feats[i].name; } #ifdef USE_METALINK featp[numfeat++] = (char *)"Metalink"; |