mirror of
https://github.com/curl/curl.git
synced 2025-09-01 18:05:00 +03:00
CURLOPT: bump CURLALTSVC_*
macros to long
This patch bumps the size of these macros from `int` to `long`, while keeping their actual values the same. It may cause incompatibilities in user code, requiring the bump of holder variables and/or adding casts: - CURLALTSVC_H1 - CURLALTSVC_H2 - CURLALTSVC_H3 - CURLALTSVC_READONLYFILE Also: - keep existing cast within the documentation to make sure it applies to older curl versions as well. Closes #18063
This commit is contained in:
parent
81f5991e14
commit
d45b85d791
|
@ -1024,10 +1024,10 @@ typedef enum {
|
|||
#define CURLHEADER_SEPARATE (1<<0)
|
||||
|
||||
/* CURLALTSVC_* are bits for the CURLOPT_ALTSVC_CTRL option */
|
||||
#define CURLALTSVC_READONLYFILE (1<<2)
|
||||
#define CURLALTSVC_H1 (1<<3)
|
||||
#define CURLALTSVC_H2 (1<<4)
|
||||
#define CURLALTSVC_H3 (1<<5)
|
||||
#define CURLALTSVC_READONLYFILE (1L<<2)
|
||||
#define CURLALTSVC_H1 (1L<<3)
|
||||
#define CURLALTSVC_H2 (1L<<4)
|
||||
#define CURLALTSVC_H3 (1L<<5)
|
||||
|
||||
/* bitmask values for CURLOPT_UPLOAD_FLAGS */
|
||||
#define CURLULFLAG_ANSWERED (1L<<0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user