mirror of
https://github.com/curl/curl.git
synced 2025-03-01 15:15:34 +08: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
@ -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…
Reference in New Issue
Block a user