]> git.ipfire.org Git - thirdparty/curl.git/commit
CURLOPT: bump `CURLALTSVC_*` macros to `long`
authorViktor Szakats <commit@vsz.me>
Mon, 28 Jul 2025 12:56:18 +0000 (14:56 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 28 Jul 2025 15:30:36 +0000 (17:30 +0200)
commitd45b85d79198a0259123923a6aa186ded2aaca6c
tree2bcdd7c253de27818bacd77b292b79027c3999bc
parent81f5991e14abe71ccee22e9576dc447e8c3418f4
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
include/curl/curl.h