mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:01:41 +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
|
|
@ -1067,8 +1067,8 @@ typedef CURLSTScode (*curl_hstswrite_callback)(CURL *easy,
|
|||
void *userp);
|
||||
|
||||
/* CURLHSTS_* are bits for the CURLOPT_HSTS option */
|
||||
#define CURLHSTS_ENABLE (long)(1<<0)
|
||||
#define CURLHSTS_READONLYFILE (long)(1<<1)
|
||||
#define CURLHSTS_ENABLE (1L<<0)
|
||||
#define CURLHSTS_READONLYFILE (1L<<1)
|
||||
|
||||
/* The CURLPROTO_ defines below are for the **deprecated** CURLOPT_*PROTOCOLS
|
||||
options. Do not use. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue