mirror of
https://github.com/curl/curl.git
synced 2026-01-26 15:03:21 +00: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
@ -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);
|
||||
~~~
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user