mirror of
https://github.com/curl/curl.git
synced 2026-07-23 01:27:16 +03:00
tool_libinfo: silence "different 'const' qualifiers" in qsort()
MSVC 15.0.30729.1 warned about it
Follow-up to dd2a024323
Closes #9522
This commit is contained in:
parent
5261efaed8
commit
9eccc613a2
1 changed files with 4 additions and 3 deletions
|
|
@ -187,9 +187,10 @@ CURLcode get_libcurl_info(void)
|
|||
if(result)
|
||||
return result;
|
||||
|
||||
/* Sort the protocols to be sure the primary ones are always accessible and
|
||||
* to retain their list order for testing purposes. */
|
||||
qsort(built_in_protos, proto_last, sizeof(built_in_protos[0]), protocmp);
|
||||
/* Sort the protocols to be sure the primary ones are always accessible
|
||||
* and to retain their list order for testing purposes. */
|
||||
qsort((char *)built_in_protos, proto_last,
|
||||
sizeof(built_in_protos[0]), protocmp);
|
||||
|
||||
/* Identify protocols we are interested in. */
|
||||
for(p = possibly_built_in; p->proto_name; p++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue