mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:57:21 +03:00
CURLOPT: replace (long) cast with L suffix for CURLHSTS_* macros
In curl/curl.h and the man page. To match the rest of CURLOPT macros. Cherry-picked from #18130
This commit is contained in:
parent
54da6f5a32
commit
d1da9543f8
2 changed files with 4 additions and 4 deletions
|
|
@ -23,8 +23,8 @@ CURLOPT_HSTS_CTRL - control HSTS behavior
|
|||
~~~c
|
||||
#include <curl/curl.h>
|
||||
|
||||
#define CURLHSTS_ENABLE (long)(1<<0)
|
||||
#define CURLHSTS_READONLYFILE (long)(1<<1)
|
||||
#define CURLHSTS_ENABLE (1L<<0)
|
||||
#define CURLHSTS_READONLYFILE (1L<<1)
|
||||
|
||||
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HSTS_CTRL, long bitmask);
|
||||
~~~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue